Copyright © tutorialspoint.com
This returns base 2 logarithm of E which is approximately 1.442.
Math.LOG2E |
<html> <head> <title>JavaScript Math LOG2E Property</title> </head> <body> <script type="text/javascript"> var property_value = Math.LOG2E document.write("Property Value is : " + property_value); </script> </body> </html> |
This will produce following result:
Property Value is : 1.4426950408889633 |
To understand it in better way you can Try it yourself.
Copyright © tutorialspoint.com