Answer: 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.
Syntax:
Math.max([value1,value2, ...valuen]]);
Asked In: Many Interviews |
Alert Moderator