silentmatt / expr-eval

Mathematical expression evaluator in JavaScript
http://silentmatt.com/javascript-expression-evaluator/
MIT License
1.2k stars 237 forks source link

Restore 'if' function #211

Closed jpike88 closed 5 years ago

jpike88 commented 5 years ago

I've preserved the tests for the ternary operator