Knowledge Walls
Laya
Hyderabad, Andhra Pradesh, India
Math.prototype.min() Method in Math Class of Javascript Syntax with Examples
1896 Views
Usage 
The Math.min() function is used to return the smallest of given numbers.
Syntax 
Math.minimum([value1[,value2, ...]])
Example
var x=Math.min(99, 100);  
var y=Math.min(-99, -100);  
var z=Math.min(-99, 100);
document.write(x,y,z);
Output 
99
-100
-99
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