(key, index = this.children.length)
| 14 | } |
| 15 | |
| 16 | add(key, index = this.children.length) { |
| 17 | const child = this.getObject(key); |
| 18 | this.children.splice(index, 0, child); |
| 19 | this.weights.splice(index, 0, 1); |
| 20 | } |
| 21 | |
| 22 | remove(key) { |
| 23 | const child = this.getObject(key); |
nothing calls this directly
no outgoing calls
no test coverage detected