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

Fix loop in strict/longest mode #16

Closed bakkot closed 6 months ago

bakkot commented 6 months ago

Based on #15; just look at the second commit if that hasn't landed yet.

Without this change, there is no way to get a normal exit in the ~strict~ or ~longest~ modes.

michaelficarra commented 6 months ago

Please rebase.