Computes the maximum value of array. If array is empty or falsey undefined is returned.
array
undefined
Returns the maximum value.
Computes the maximum value of
array. Ifarrayis empty or falseyundefinedis returned.