Returns the maximum item from the given array.
The type of the array.
The array from which to find the maximum item.
The maximum item from the array, or undefined if the array is empty.
Returns the maximum item from the given array.