(h)
| 24 | }; |
| 25 | |
| 26 | const node = (h) => { |
| 27 | if (h < 0 || h >= nodes.length || nodes[h] === null) { |
| 28 | throw new Error('invalid DOM node handle: ' + h); |
| 29 | } |
| 30 | return nodes[h]; |
| 31 | }; |
| 32 | |
| 33 | const allocList = (list) => { |
| 34 | if (!list || list.length === 0) return ''; |
no outgoing calls
no test coverage detected