JavaScript - Math LOG2E Property
Advertisements
Description
This returns base 2 logarithm of E which is approximately 1.442.
Syntax
Math.LOG2E
Example
Live Demo<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
javascript_math_object.htm
Advertisements