(str)
| 576 | } |
| 577 | |
| 578 | const write = (str) => { |
| 579 | const idx = depth % palette.length; |
| 580 | // Safeguard against bugs in the implementation. |
| 581 | const color = palette[idx] ?? palette[0]; |
| 582 | out += color[0] + str + color[1]; |
| 583 | return idx; |
| 584 | }; |
| 585 | |
| 586 | function writeDepth(str, incDepth, incI) { |
| 587 | depth += incDepth; |
no outgoing calls
no test coverage detected
searching dependent graphs…