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

Implement Object.groupBy + Map.groupBy #123

Merged
merged 3 commits into from Nov 24, 2023

Conversation

bnoordhuis
Copy link
Contributor

This implements https://github.com/tc39/proposal-array-grouping

First commit turns on the array-grouping test262 feature.

Second and third commit implement Object.groupBy and Map.groupBy and update test262_errors.txt so you can see what tests they exercise.

The code is in that uncanny valley where it's both very similar but also just dissimilar enough that trying to mash it into a single method get clunky and clumsy, that's why I kept them separate.

@bnoordhuis bnoordhuis merged commit 22a3d80 into quickjs-ng:master Nov 24, 2023
19 checks passed
@bnoordhuis bnoordhuis deleted the array-grouping branch November 24, 2023 10:30
saghul pushed a commit that referenced this pull request Dec 22, 2023
saghul pushed a commit that referenced this pull request Dec 22, 2023
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.

None yet

2 participants