ES6 - Math-LOG2E Property


Advertisements

Base 2 logarithm of E, approximately 1.442.

Syntax

Math.LOG2E

Example

console.log(Math.LOG2E) // the base 2 logarithm of Math.E: ~1.433 

Output

1.4426950408889634             
es6_math.htm
Advertisements