English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
Math.EThe property represents the base of the natural logarithm, e is approximately2.718.
Because E is a static property of Math, you always use it asMath.E, rather than used as properties of the Math object created.
Math.E
Math.E;Test See‹/›
All browsers fully support the Math.E property:
Property | |||||
Math.E | Yes | Yes | Yes | Yes | Yes |
Writable: | None |
---|---|
Enumerable: | None |
Configurable: | None |
Return Value: | The number representing Euler's number |
JavaScript Version: | ECMAScript 1 |