Equation.js/lib/constats.js

12 lines
264 B
JavaScript
Raw Normal View History

2015-04-20 09:28:11 +00:00
/*
* 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
};