Skip to content

Commit 4d91951

Browse files
authored
Merge pull request #1004 from Jack-Works/groupByMap
2 parents 9ee6b9b + 488bb27 commit 4d91951

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2399,6 +2399,7 @@ Modules [`esnext.array.group-by`](https://github.com/zloirock/core-js/blob/maste
23992399
```js
24002400
class Array {
24012401
groupBy(callbackfn: (value: any, index: number, target: any) => key, thisArg?: any): { [key]: Array<mixed> };
2402+
groupByMap(callbackfn: (value: any, index: number, target: any) => key, thisArg?: any): Map<key, Array<mixed>>;
24022403
}
24032404

24042405
class %TypedArray% {

tests/compat/tests.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1221,6 +1221,9 @@ GLOBAL.tests = {
12211221
'esnext.array.group-by': function () {
12221222
return [].groupBy;
12231223
},
1224+
'esnext.array.group-by-map': function () {
1225+
return [].groupByMap;
1226+
},
12241227
'esnext.array.is-template-object': function () {
12251228
return Array.isTemplateObject;
12261229
},

0 commit comments

Comments
 (0)