mirror of https://github.com/jkjoy/sunpeiwen.git
9 lines
330 B
JavaScript
9 lines
330 B
JavaScript
'use strict';
|
|
require('../../modules/es6.weak-set');
|
|
require('../../modules/es7.weak-set.from');
|
|
var $WeakSet = require('../../modules/_core').WeakSet;
|
|
var $from = $WeakSet.from;
|
|
module.exports = function from(source, mapFn, thisArg) {
|
|
return $from.call(typeof this === 'function' ? this : $WeakSet, source, mapFn, thisArg);
|
|
};
|