UK [mæks] US [mæks]

adv.At most

javascript max() method syntax

Function:Returns the number with the larger value among the two specified numbers.

Syntax:Math.max(x...)

Parameters:x 0 or more values. Prior to ECMASCript v3, this method had only two parameters.

Returns:The largest value among the parameters. If there are no arguments, -Infinity is returned. If an argument is NaN, or a non-numeric value that cannot be converted to a number, NaN is returned.

javascript max() method example

    Title 

Run instance »

Click the "Run instance" button to view the online instance