The LOG2E
property returns the base-2 logarithm of E, approximately 1.442.
LOG2E |
Yes | Yes | Yes | Yes | Yes |
Math.LOG2E
A number representing the base-2 logarithm of E.
The following code shows how to find out the value of base 2 logarithm of e.
console.log(Math.LOG2E);
The code above generates the following result.