aboutsummaryrefslogtreecommitdiff
path: root/node_modules/babel-register/node_modules/core-js/fn/set/from.js
blob: fe1d395801ed1480d50356e0db486a761197f5a3 (plain)
1
2
3
4
5
6
7
8
'use strict';
require('../../modules/es6.set');
require('../../modules/es7.set.from');
var $Set = require('../../modules/_core').Set;
var $from = $Set.from;
module.exports = function from(source, mapFn, thisArg) {
  return $from.call(typeof this === 'function' ? this : $Set, source, mapFn, thisArg);
};