(index)
| 2586 | } |
| 2587 | |
| 2588 | remove(index) { |
| 2589 | if (index < 0) |
| 2590 | index += this.code.length; |
| 2591 | |
| 2592 | if (index < 0 || index >= this.code.length) |
| 2593 | return null; |
| 2594 | |
| 2595 | const items = this.code.splice(index, 1); |
| 2596 | |
| 2597 | if (items.length === 0) |
| 2598 | return null; |
| 2599 | |
| 2600 | return items[0]; |
| 2601 | } |
| 2602 | |
| 2603 | set(index, op) { |
| 2604 | if (index < 0) |
no outgoing calls
no test coverage detected