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

'max()' Syntax, Parameters and Note

Note:

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

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

    

      
      








Related examples in the same category

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