Skip to content

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
@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.

2 participants