dy/subscript

Math.* support?

Closed this issue · 2 comments

Would be nice to have the typical Math functions available, or is this out of scope of this project?

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