JavaScript Math.LOG10E Property
Shubham Vora
Jan 30, 2023
-
Syntax of JavaScript
Math.LOG10E
: -
Use the
Math.LOG10E
Property to Get the Base-10 Logarithm of the Constante
The Math.LOG10E
property returns a value that is the base-10 logarithm of the constant e
. We don’t need to pass any argument or parameter for this property in JavaScript.
Syntax of JavaScript Math.LOG10E
:
Math.LOG10E;
Parameter
This property does not take any parameters.
Return
This method returns the base-10 logarithm of constant e
, approximately 0.43429.
Use the Math.LOG10E
Property to Get the Base-10 Logarithm of the Constant e
In JavaScript, we use the Math.LOG10E
property to get the Mathematical constant 10e
value. In the example, we have used the Math.LOG10E
property to get the exact value of the constant e
base-10 logarithm.
let consValue = Math.LOG10E;
console.log(consValue);
Output:
0.4342944819032518
The Math.LOG10E
method is supported in most browsers.
Author: Shubham Vora