Opal-Estate-Pro/node_modules/core-js/fn/map/from.js

9 lines
304 B
JavaScript
Raw Normal View History

2019-09-13 04:44:33 +02:00
'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);
};