Answer: The
Math.Pow function returns the base to the exponent Power or we can say that,The pow() method returns the value of x to the power of y.It's same as Mathematics power.
Pow is also an static method of Math,we always use it as Math.pow().
Syntax:-
Math.pow(base,exponent);
Asked In: Many Interviews |
Alert Moderator