Home >>JavaScript Math Reference >JavaScript LOG10E Property

JavaScript LOG10E Property

JavaScript LOG10E Property

JavaScript LOG10E property is used to return the base-10 logarithm of E. Its value is approximately 0.434.



Browser Support

Property Chrome Edge Firefox Safari Opera
LOG10E Yes Yes Yes Yes Yes

Here is an example of JavaScript LOG10E property:

<p>Click the button to see the Output</p>
<button onclick="myFunction()">Try it</button>
<p id="demo"></p>
function myFunction() {
  document.getElementById("demo").innerHTML = Math.LOG10E;

Click the button to see the Output.


Popular Tutorials