Skip to content

Add missing tests for joint iteration proposal#4984

Open
ojuschugh1 wants to merge 1 commit intotc39:mainfrom
ojuschugh1:joint-iteration-tests
Open

Add missing tests for joint iteration proposal#4984
ojuschugh1 wants to merge 1 commit intotc39:mainfrom
ojuschugh1:joint-iteration-tests

Conversation

@ojuschugh1
Copy link

Add missing tests for joint iteration proposal

Adds a few tests that were missing from the Iterator.zip and Iterator.zipKeyed coverage:

  • Each call to next() should return a fresh array/object, not reuse the same reference
  • In strict mode, when all iterators finish at the same step, the remaining ones still get stepped to confirm they're done, and the iterator completes normally instead of throwing

Closes #4112

@ojuschugh1 ojuschugh1 requested a review from a team as a code owner March 9, 2026 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create testing plan for the Joint Iteration proposal.

1 participant