The Math. LOG2E attribute in JavaScript USES detail

  • 2020-06-15 07:40:45
  • OfStack

This returns log e of base 2, which is about 1.442.
grammar


Math.LOG2E

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 the following results:


Property Value is : 1.4426950408889633 


Related articles: