source: trip-planner-front/node_modules/core-js/features/map/key-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: 351 bytes
Line 
1'use strict';
2require('../../modules/es.map');
3require('../../modules/esnext.map.key-by');
4var path = require('../../internals/path');
5
6var Map = path.Map;
7var mapKeyBy = Map.keyBy;
8
9module.exports = function keyBy(source, iterable, keyDerivative) {
10 return mapKeyBy.call(typeof this === 'function' ? this : Map, source, iterable, keyDerivative);
11};
Note: See TracBrowser for help on using the repository browser.