mirror of
https://github.com/musix-org/musix-oss
synced 2024-11-10 11:20:19 +00:00
14 lines
427 B
JavaScript
14 lines
427 B
JavaScript
|
'use strict';
|
||
|
require('../../modules/es.map');
|
||
|
require('../../modules/es.string.iterator');
|
||
|
require('../../modules/esnext.map.from');
|
||
|
require('../../modules/web.dom-collections.iterator');
|
||
|
var path = require('../../internals/path');
|
||
|
|
||
|
var Map = path.Map;
|
||
|
var mapFrom = Map.from;
|
||
|
|
||
|
module.exports = function from(source, mapFn, thisArg) {
|
||
|
return mapFrom.call(typeof this === 'function' ? this : Map, source, mapFn, thisArg);
|
||
|
};
|