Give the output of Math.pow(3,0)
Answers
Answered by
3
Explanation:
base
The base number.
exponent
The exponent used to raise the base.
A number representing the given base taken to the power of the given exponent.
The Math.pow() function returns the base to the exponent power, that is, baseexponent, the base and the exponent are in decimal numeral system.
Because pow() is a static method of Math, you always use it as Math.pow(), rather than as a method of a Math object you created (Math has no constructor). If the base is negative and the exponent is not an integer, the result is NaN.
Similar questions