Javascript Math.LOG2E,属性
这将返回基数2的对数e,大约是 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>
这将产生以下结果:
Property Value is : 1.4426950408889633