(heap)
| 2246 | siftUp(heap, node, index); |
| 2247 | } |
| 2248 | function peek(heap) { |
| 2249 | var first = heap[0]; |
| 2250 | return first === undefined ? null : first; |
| 2251 | } |
| 2252 | function pop(heap) { |
| 2253 | var first = heap[0]; |
| 2254 |
no outgoing calls
no test coverage detected