Returns the top element of the max-heap.
The type of max-heap.
The max-heap instance.
The top element or undefined if the heap is empty.
undefined
Returns the top element of the max-heap.