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