Metodo max
Restituisce il valore maggiore di zero o di più espressioni numeriche specificate.
function max([number1 : Number [, ... [, numberN : Number]]]) : Number
Argomenti
- number1, ... , numberN
Obbligatorio. Espressioni numeriche.
Note
Se non è specificato alcun argomento, il valore restituito sarà uguale a NEGATIVE_INFINITY. Se un argomento è NaN, anche il valore restituito sarà NaN.