Return the natural logarithm of 2:
The result will be:
The LN2 property returns the natural logarithm of 2, approximately 0.693.
![]()
The LN2 property is supported in all major browsers.
| Return Value: | A Number, representing the natural logarithm of 2 |
|---|---|
| JavaScript Version: | 1.0 |
JavaScript Math Object
Your message has been sent to W3Schools.