Parameters Used: This function accepts a single parameter as mentioned above and described below:
- Value is a number whose ex you want to find.
Returns: The Math.exp() method returns ex where e is Euler’s number and x is the argument.
Below is an example of the Math exp() Method.
When zero is passed as a parameter: 1
Example 2: When “-1” is passed as a parameter.
Result : 0.36787944117144233
Example 3: When “1” is passed as a parameter.
Result : 2.718281828459045
- Google Chrome 1 and above
- Internet Explorer 3 and above
- Firefox 1 and above
- Opera 3 and above
- Safari 1 and above