(obj)
| 119 | } |
| 120 | |
| 121 | function addHeapObject(obj) { |
| 122 | if (heap_next === heap.length) heap.push(heap.length + 1); |
| 123 | const idx = heap_next; |
| 124 | heap_next = heap[idx]; |
| 125 | |
| 126 | heap[idx] = obj; |
| 127 | return idx; |
| 128 | } |
| 129 | |
| 130 | function debugString(val) { |
| 131 | // primitive types |
no test coverage detected