Learn JavaScript
Math Object
18.5
Lesson

Calculating Exponentiation Values

Math.pow() helps us find the value of one number raised to the power of another.

In the example given below, we are raising 5 to an exponent of 2, which gives us the result 25.