Javascript - Math E Property

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

Description

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

Syntax

Math.E

Return

A Number, representing Euler's number

Example

Return the Euler's number:

Demo

console.log(Math.E);

Result