Equation.js/lib/constats.js
2015-04-20 13:59:59 +04:30

12 lines
264 B
JavaScript

/*
* Constats
* Keys must be UPPERCASE
* Values Can be a constant value or a function returning a value
* this function doesn't take any arguments (use case: random constats)
*/
export default {
'PI': Math.PI,
'E': Math.E,
'RAND': Math.random
};