Math.* support?
Closed this issue · 2 comments
colorcube commented
Would be nice to have the typical Math functions available, or is this out of scope of this project?
colorcube commented
Ok I got it :-)
let fn = jstin('Math.ceil(price)');
console.log(fn({price: 12.5, Math}))
Adding a short example might be a good idea, though
dy commented
Thanks @colorcube! Done