tc39 / proposal-joint-iteration

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

Fix loop in strict/longest mode #16

Closed bakkot closed 9 months ago

bakkot commented 9 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 9 months ago

Please rebase.