What is Math.Pow function in Math class?

 Posted by Rajesh_Kumar on 2/17/2014 | Category: JavaScript Interview questions | Views: 2330 | Points: 40
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 

Comments or Responses

Login to post response