Last change
on this file since 188ee53 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
471 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | 'use strict';
|
---|
| 2 | require('../../modules/es.array.iterator');
|
---|
| 3 | require('../../modules/es.map');
|
---|
| 4 | require('../../modules/es.string.iterator');
|
---|
| 5 | require('../../modules/esnext.map.from');
|
---|
| 6 | require('../../modules/web.dom-collections.iterator');
|
---|
| 7 | var path = require('../../internals/path');
|
---|
| 8 |
|
---|
| 9 | var Map = path.Map;
|
---|
| 10 | var mapFrom = Map.from;
|
---|
| 11 |
|
---|
| 12 | module.exports = function from(source, mapFn, thisArg) {
|
---|
| 13 | return mapFrom.call(typeof this === 'function' ? this : Map, source, mapFn, thisArg);
|
---|
| 14 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.