Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

throw in GetIteratorFlattenable when iterator is non-Object #253

merged 1 commit into from Dec 1, 2022


Copy link

Fixes #247. I don't think it was a problem to ToObject the returned iterator, but this is more consistent with how iterators are treated elsewhere.

@michaelficarra michaelficarra merged commit c907620 into main Dec 1, 2022
1 check passed
@michaelficarra michaelficarra deleted the GH-247 branch December 1, 2022 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

GetIteratorFlattenable should check that iterator is an Object.
2 participants