8 lines
304 B
JavaScript
8 lines
304 B
JavaScript
'use strict';
|
|
require('../../modules/es6.map');
|
|
require('../../modules/es7.map.from');
|
|
var $Map = require('../../modules/_core').Map;
|
|
var $from = $Map.from;
|
|
module.exports = function from(source, mapFn, thisArg) {
|
|
return $from.call(typeof this === 'function' ? this : $Map, source, mapFn, thisArg);
|
|
};
|