Last change
on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
361 bytes
|
Line | |
---|
1 | 'use strict';
|
---|
2 | require('../../modules/es.map');
|
---|
3 | require('../../modules/esnext.map.group-by');
|
---|
4 | var path = require('../../internals/path');
|
---|
5 |
|
---|
6 | var Map = path.Map;
|
---|
7 | var mapGroupBy = Map.groupBy;
|
---|
8 |
|
---|
9 | module.exports = function groupBy(source, iterable, keyDerivative) {
|
---|
10 | return mapGroupBy.call(typeof this === 'function' ? this : Map, source, iterable, keyDerivative);
|
---|
11 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.