+ 3
Explain Math.pow .
What is Math.pow please clarify more?
3 Respuestas
+ 10
Math.pow means power, "raising a number to a power of another".
Raising A to power of B means multiplying A by itself B times:
Math.pow(5, 3) = 5*5*5 = 125
Math.pow(8, 2) = 8*8 = 64
Math.pow(3, 4) = 3*3*3*3 = 81
+ 2
Thank you Seb TheS .
+ 2
It's same as exponent. First parameter takes base, the second takes exponent. E.g. Math.pow(3, 2) is same like 3^2 or 3*3.