1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-12-23 22:33:17 +00:00
musix-oss/node_modules/core-js/features/map/from.js
2020-03-03 22:30:50 +02:00

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);
};