JavaScript LN2 property
- Previous Page fround()
- Next Page LN10
- Go to the Previous Level JavaScript Math Reference Manual
Definition and usage
LN2
The property is loge2, which is the natural logarithm of 2, and its value is approximately 0.69314718055994528623.
Syntax
Math.LN2
Technical details
Return value: | A number representing the natural logarithm of 2. |
---|---|
JavaScript version: | ECMAScript 1 |
Browser Support
Math.LN2
Is an ES1 Feature (JavaScript 1999). All browsers fully support it:
Chrome | IE | Edge | Firefox | Safari | Opera |
---|---|---|---|---|---|
Support | Support | Support | Support | Support | Support |
Related Pages
Tutorial:JavaScript Math
- Previous Page fround()
- Next Page LN10
- Go to the Previous Level JavaScript Math Reference Manual