Math ऑब्जेक्ट की LN2 प्रॉपर्टी 2 के नेचुरल लॉगरिदम (आधार e) को दर्शाती है।
सिंटैक्स
इसका सिंटैक्स निम्नानुसार है:
Math.LN2
उदाहरण
<html> <head> <title>JavaScript Example</title> </head> <body> <script type="text/javascript"> var data = Math.LN2; document.write(data); </script> </body> </html>
आउटपुट
0.6931471805599453