mirror of https://github.com/jkjoy/sunpeiwen.git
9 lines
304 B
JavaScript
9 lines
304 B
JavaScript
|
'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);
|
||
|
};
|