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