source: trip-planner-front/node_modules/core-js/features/map/group-by.js@ ceaed42

Last change on this file since ceaed42 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';
2require('../../modules/es.map');
3require('../../modules/esnext.map.group-by');
4var path = require('../../internals/path');
5
6var Map = path.Map;
7var mapGroupBy = Map.groupBy;
8
9module.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.