RosettaCodeData/Task/Runtime-evaluation-In-an-environment/JavaScript/runtime-evaluation-in-an-environment-2.js

2 lines
60 B
JavaScript
Raw Permalink Normal View History

2013-04-10 23:57:08 -07:00
evalWithX('Math.exp(x)', 0, 1) // returns 1.718281828459045