JavaScript E Property
THE WORLD'S LARGEST WEB DEVELOPER SITE

JavaScript E Property

❮ JavaScript Math Object

Example

Return the Euler's number:

Math.E;
Try it Yourself »

Definition and Usage

The E property returns the Euler's number and the base of natural logarithms, approximately 2.718.


Browser Support

Property
E Yes Yes Yes Yes Yes

Syntax

Math.E

Technical Details

Return Value: A Number, representing Euler's number
JavaScript Version: ECMAScript 1

❮ JavaScript Math Object