Open shaunlebron opened 6 years ago
Fixed #128 if the correct translated example is desired:
Original example:
for await (const line of readLines(filePath)) { console.log(line); }
Equivalent to:
const i = readLines(filePath); while (true) { const {value, done} = await i.next(); if (done) break; console.log(value); }
Fixed #128 if the correct translated example is desired:
Original example:
Equivalent to: