Returns the largest numeric value in an array. If the array
parameter value is an empty array, returns zero.
All elements must contain values that can be automatically
converted to numeric values.
Object Method Array.max
Array.max():number
Arguments
This function has no arguments