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

Math.pow()

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