silentmatt/js-expression-eval — pull request #18 by pradeephrish (2014-08-21 10:55:10+00:00)
Title: fixing Functions are returned among variables()

It's evaluating properly. Tested for cases like below

var expr = Parser.parse("max(2 ^ x,10)"); // Returns an Expression object
console.log(expr.evaluate({ x: 3 })); // returns 10