This Method calculates the exponent of the value. Returns enumber, where enumber is the argument, and e is Euler's constant, the base of the natural logarithms. For matrices, the function is evaluated element wise.
Number is any numeric expression.
Here is an example for this method:-
var value = Math.exp(1);
document.write("First Test Value : " + value );