Run ❯
Get your
own
website
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
JavaScript Math.log2()
Math.log2() returns the base 2 logarithm of a number.
How many times must we multiply 2 to get 8?