Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[JSC] Rename Array#groupBy to Array#group and enable them
https://bugs.webkit.org/show_bug.cgi?id=243510 Reviewed by Mark Lam, Justin Michaud, Devin Rousso and Ross Kirsling. We agreed at TC39 to renaming Array#groupBy and Array#groupByToMap to Array#group and Array#groupToMap to keep web-compatibility. This patch renames and enables them, stage-4 progress is tracked in [1]. We also upstreamed test262 fix for this[2]. [1]: tc39/proposal-array-grouping#32 [2]: tc39/test262#3632 * Source/JavaScriptCore/builtins/ArrayPrototype.js: (group): (groupToMap): (groupBy): Deleted. (groupByToMap): Deleted. * Source/JavaScriptCore/runtime/ArrayPrototype.cpp: (JSC::ArrayPrototype::finishCreation): * Source/JavaScriptCore/runtime/OptionsList.h: Canonical link: https://commits.webkit.org/253101@main
- Loading branch information
1 parent
b5ed1bd
commit 317e700
Showing
15 changed files
with
151 additions
and
133 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.