Mega Code Archive

 
Categories / JavaScript Reference / Javascript Methods
 

Min() Example

<html> <body> <button onclick="alert(Math.min(1, 2));">get the min value from two</button> </body> </html>