aboutsummaryrefslogtreecommitdiff
path: root/node_modules/babel-runtime/node_modules/core-js/library/fn/map/from.js
blob: 4ecc195a894deb9ad1adfce82796ee25e5dec220 (plain)
1
2
3
4
5
6
7
8
'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);
};