Math.max

Number max (Number value1, value2, …)

Parameters

value1, value2, … Numbers.

Description

Returns the largest of zero or more numbers.