API · JavaScript

JavaScript Math.LOG10E Property

In JavaScript, the Math.LOG10E property is used to get the base-10 logarithm of e. Since Math.LOG10E is a property in JavaScript, so we can only invoke it by using Math as the reference object.

On this page

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.