tc39 / proposal-joint-iteration

a TC39 proposal to synchronise the advancement of multiple iterators
https://tc39.es/proposal-joint-iteration
51 stars 2 forks source link

empty list of iterators -> empty generator #20

Closed bakkot closed 4 months ago

bakkot commented 4 months ago

From the readme:

if 0 is allowed, is that considered never-ending or already completed?

"Already completed" seems like the right answer and is what the polyfill does.