JavaScript Math LOG2E
Definition and Usage
Math.LOG2E returns the base-2 logarithm of E, approximately 1.442.
Browser Support
Math.LOG2E
is an ECMAScript1 (ES1) feature.
ES1 (JavaScript 1997) is fully supported in all browsers:
Chrome | IE | Edge | Firefox | Safari | Opera |
Yes | Yes | Yes | Yes | Yes | Yes |
Syntax
Math.LOG2E
Return Value
A Number, representing the base-2 logarithm of E. |