ES6 - Math-LN10 Property


Advertisements


Natural logarithm of 10, approximately 2.302.

Syntax

Math.LN2 

Example

console.log(Math.LN10) // the natural logarithm of 10: ~2.303 

Output

2.302585092994046           

es6_math.htm

Advertisements