(input)
| 3519 | const idx = input.indexOf(char, position.position); |
| 3520 | const start = position.position; |
| 3521 | if (idx === -1) { |
| 3522 | position.position = input.length; |
| 3523 | return input.slice(start); |
| 3524 | } |
| 3525 | position.position = idx; |
| 3526 | return input.slice(start, position.position); |
| 3527 | } |
no test coverage detected