Javascript - Math LN2 Property

The LN2 property returns the natural logarithm of 2, approximately 0.693.

Description

The LN2 property returns the natural logarithm of 2, approximately 0.693.

Syntax

Math.LN2

Return

A Number, representing the natural logarithm of 2

Example

Return the natural logarithm of 2:

Demo

//display the natural logarithm of 2.
console.log(Math.LN2);

Result