JavaScript tutorial:
E property

 

Applies to: Math Object

The E property is used to get the Euler's constant, the base of natural logarithms. The E property is approximately equal to 2.718.

Syntax

var numVar
numVar
= Math.E

Return value

Returns Euler's constant, the base of natural logarithms. The E property is approximately equal to 2.718.

See also: exp Method, Math Object Properties