Computer >> Computer tutorials >  >> Programming >> Javascript

Math.LOG10E Property in JavaScript


The LOG10E property of the Math object represents the logarithmic value of base 10.

Syntax

Its Syntax is as follows

Math.LOG10E

Example

<html>
<head>
   <title>JavaScript Example</title>
</head>
<body>
   <script type="text/javascript">
      var result = Math.LOG10E;
      document.write(result);
   </script>
</body>
</html>

Output

0.4342944819032518