'max()' Example : max « Javascript Methods « JavaScript Reference

'max()' Example

    
<html>
<body>
<button onclick="alert(Math.max(1, 2));">MAX</button>
</body>
</html>

    
      
      

Related examples in the same category

1.'max()' Syntax, Parameters and Note
2.'max()' is applied to