JavaScript Math.LN10

Example

let x = Math.LN10;
Try it Yourself »

Description

The Math.LN10 property returns the natural logarithm of 10.

The Math.LN10 property approximately 2.302.




Syntax

Math.LN10

Return Value

Type Description
NumberThe natural logarithm of 10.


Browser Support

Math.LN10 is an ECMAScript1 (ES1) feature.

ES1 (JavaScript 1997) is fully supported in all browsers:

Chrome Edge Firefox Safari Opera IE
Yes Yes Yes Yes Yes Yes

Copyright 1999-2023 by Refsnes Data. All Rights Reserved.