Javascript Reference - JavaScript LN10 Property








The LN10 property returns the natural logarithm of 10, approximately 2.302.

Browser Support

LN10 Yes Yes Yes Yes Yes

Syntax

Math.LN10

Return Value

A number representing the natural logarithm of 10.

Example

The following code shows how to find out the value of natural logarithm of 10.


console.log(Math.LN10);

The code above generates the following result.