JavaScript LOG2E property
- Previous Page log2()
- Next Page LOG10E
- Go to the Previous Level JavaScript Math Reference Manual
Definition and usage
LOG2E
The property is log2e, which is the logarithm base 2 of e, and its value is approximately 1.442695040888963387.
Syntax
Math.LOG2E
Technical details
Return value: | A number representing the logarithm base 2 of E. |
---|---|
JavaScript version: | ECMAScript 1 |
Browser Support
Math.LOG2E
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 log2()
- Next Page LOG10E
- Go to the Previous Level JavaScript Math Reference Manual