Skip to content

Add tests for return in for..in statements#5027

Open
Sharktheone wants to merge 1 commit intotc39:mainfrom
Sharktheone:for-in-return-tests
Open

Add tests for return in for..in statements#5027
Sharktheone wants to merge 1 commit intotc39:mainfrom
Sharktheone:for-in-return-tests

Conversation

@Sharktheone
Copy link
Copy Markdown
Member

The ability to return from for..in loops was not tested. I'm adding them here. I am testing the same cases as for the for..of loop.

The test is passing in Yavashark from which I also assume they will pass in any other engine.

@Sharktheone Sharktheone requested a review from a team as a code owner April 14, 2026 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants