(obj)
| 19683 | heap.push(void 0, null, true, false); |
| 19684 | var heap_next = heap.length; |
| 19685 | function addHeapObject(obj) { |
| 19686 | if (heap_next === heap.length) |
| 19687 | heap.push(heap.length + 1); |
| 19688 | const idx = heap_next; |
| 19689 | heap_next = heap[idx]; |
| 19690 | heap[idx] = obj; |
| 19691 | return idx; |
| 19692 | } |
| 19693 | function getObject(idx) { |
| 19694 | return heap[idx]; |
| 19695 | } |
no test coverage detected