13 is part of a misguided attempt to print incremental results in once circumstance and return a big string in another. But, incremental results can only mean one thing: yield! So each time (from some inner function) yield the table as a string, and the outermost function can deal with the print-or-stringify grossness.
13 is part of a misguided attempt to print incremental results in once circumstance and return a big string in another. But, incremental results can only mean one thing:
yield
! So each time (from some inner function)yield
the table as a string, and the outermost function can deal with the print-or-stringify grossness.