Home > Article > Web Front-end > Detailed explanation of the use of Math.E attributes in JavaScript_Basic knowledge
This is the base of Euler’s constant and the natural logarithm, approximately 2.718.
Syntax:
Math.E
Example:
<html> <head> <title>JavaScript Math E Property</title> </head> <body> <script type="text/javascript"> var property_value = Math.E document.write("Property Value is : " + property_value); </script> </body> </html>
This will produce the following results:
Property Value is : 2.718281828459045