(cc, input, pos)
| 277 | * @returns {number} position past the CRLF pair (or unchanged for bare CR) |
| 278 | */ |
| 279 | const consumeExtraNewline = (cc, input, pos) => { |
| 280 | if (cc === CC_CARRIAGE_RETURN && input.charCodeAt(pos) === CC_LINE_FEED) { |
| 281 | pos++; |
| 282 | } |
| 283 | return pos; |
| 284 | }; |
| 285 | |
| 286 | /** |
| 287 | * @param {number} cc char code |
no outgoing calls
no test coverage detected