What does Math.Max function do?

 Posted by Rajesh_Kumar on 2/17/2014 | Category: JavaScript Interview questions | Views: 2149 | Points: 40

The Math.max() function returns the largest of zero or more numbers.Max is also an static method of Math,we always use it as Math.max().

In other way,we can say that,Math.max() returns the number with the highest value.

Math.max([value1,value2, ...valuen]]);

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response