'min()' Syntax, Parameters and Note : min « Javascript Methods « JavaScript Reference

'min()' Syntax, Parameters and Note

Note:

Evaluates two numbers and returns the smaller one.
    
Syntax:
    
Math.min(param1, param2)

Parameters:
    param1   Required; the first number.
    param2   Required; the second number.

    

      
      








Related examples in the same category

1.'min()' Example
2.'min()' is applied to