Math.max( x, y )
The larger number of the two values entered in x and y.
x – the number or a variable containing a number. This parameter is required.
y – the number or a variable containing a number. This parameter is required.
Examples