JavaScript Basics
JavaScript Objects
JavaScript Advanced
JS Useful References
JS Useful Resources
Selected Reading
© 2013 TutorialsPoint.COM
|
Javascript Math - LOG2E Property
Advertisements
Description:
This returns base 2 logarithm of E which is approximately 1.442.
Syntax:
Example:
<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.
Advertisements
|
|
|