Math.LOG2E

LOG2E — Returns the base 2 logarithm of e.

Description

Math.LOG2E

Return values

number primitive.

Examples

Example #1 – LOG2E example
console.log(Math.LOG2E); // 1.4426950408889634 console.log(Number(Math.LOG2E).toFixed(20)); // 1.44269504088896338700

External references