English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

JavaScript Math.exp() Method

 JavaScript Math Object

Math.exp()The method returns e Xwhere x is the independent variable, and e is Euler's number (also known as Napier's constant), the base of the natural logarithm.

Since exp() is a static method of Math, you always use it asMath.exp()It is not used as a method of creating the Math object, but as a method.

Syntax:

Math.exp(x)
Math.exp(1);
Math.exp(0);
Math.exp(-1);
Test and See‹/›

Browser Compatibility

All browsers fully support the Math.exp() method:

Method
Math.exp()isisisisis

Parameter Value

ParameterDescription
xNumeric

Technical Details

Return Value:represents e xwhere e is the Euler's number, and x is the independent variable
JavaScript Version:ECMAScript 1

 JavaScript Math Object