JavaScript Math pow()

The JavaScript math pow() method is used to get the value of base to the power of an exponent. Syntax:


Parameters base: It represents the base number. exponent: It represents the exponent to which the base has to raise.

Returns Base value to the power of exponent.


<!DOCTYPE html>
Please follow and like us:
Content Protection by