Run ❯
Get your
own
website
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
JavaScript Math
The Math.log2() Method
The Mat.log2() method returns the base 2 logarithm of a number: