Home »
JavaScript
Math.LOG10E Property with Example in JavaScript
JavaScript | Math.LOG10E Property: Here, we are going to learn about the PI Property of Math class in JavaScript with Examples.
Submitted by Shivang Yadav, on February 03, 2020
JavaScript | Math.LOG10E Property
Math.LOG10E is a property in math library of JavaScript that is used to find the value of base 10 logarithm of E. It is generally used to solve problems related to circular figures. The value of E is 2.718.
Syntax
Math.LOG10E
Parameters
Return Value
The return type of this method is number, it returns the value of LOG10E.
Browser support
Chrome, Internet explorer, Mozilla, Safari, Opera mini.
Example 1
console.log(Math.LOG10E);
Output
0.4342944819032518
Example 2: Invalid values
console.log(Math.LOG10E("Javascript"));
Output
Uncaught TypeError: Math.LOG10E is not a function
at <anonymous>:1:18
JavaScript Math Object Methods »