Knowledge Walls
Laya
Hyderabad, Andhra Pradesh, India
Math.prototype.max() Method in Math Class of Javascript Syntax with Examples
1993 Views
Usage 
The Math.max() function is used to return the largest of given numbers.
Syntax 
Math.maximum([value1[,value2, ...]])
Example
	var x=Math.max(99, 100);   
	var y=Math.max(-99, -100);   
	var z=Math.max(-99, 100);
	document.write(x,y,z);
Example 
100
-99
100
Best Lessons of "Javascript Syntax with Examples"
Top lessons which are viewed more times.
  Copyright © 2014 Knowledge walls, All rights reserved
KnowledgeWalls
keep your tutorials and learnings with KnowledgeWalls. Don't lose your learnings hereafter. Save and revise it whenever required.
Click here for more details