E
Math
class property
JS Home <<
JS Reference <<
Math <<
E
Description
Represents Euler's constant which is the base of natural logarithms.
- Like all class properties
E
should be used on the class rather than an instance of the class.
Syntax
Signature | Description |
---|---|
Math.E | Represents Euler's constant which is the base of natural logarithms. |
Parameters
None.
Examples
The code below displays E
usage.
alert('Eulers Constant: ' + Math.E); // 2.71828...
Related Tutorials
JavaScript Advanced Tutorials - Lesson 4 - Math