from.js 304 B

12345678
  1. 'use strict';
  2. require('../../modules/es6.set');
  3. require('../../modules/es7.set.from');
  4. var $Set = require('../../modules/_core').Set;
  5. var $from = $Set.from;
  6. module.exports = function from(source, mapFn, thisArg) {
  7. return $from.call(typeof this === 'function' ? this : $Set, source, mapFn, thisArg);
  8. };