MathObject-3

 

Math.E will return the Euler's number which is 2.718281828459045 approx. See the code snippet:

 
 
 
<!DOCTYPE html> <html> <head> <title>Welcome to LearnKode - A code learning platform</title> </head> <body> <p id="sample"></p> <script> var result = Math.E; document.getElementById("sample").innerHTML = result; </script> </body> </html>
Output