Returns the maximum element (root) of the max-heap without removing it.
The type of max-heap array.
The max-heap instance.
The maximum element or undefined if heap is empty.
undefined
Returns the maximum element (root) of the max-heap without removing it.