It returns the natural logarithm of 2 which is approximately 0.693.
Its syntax is as follows −
Math.LN2
Try the following example program.
<html> <head> <title>JavaScript Math LN2 Property</title> </head> <body> <script type="text/javascript"> var property_value = Math.LN2 document.write("Property Value is : " + property_value); </script> </body> </html>
Property Value is : 0.6931471805599453