of.js 286 B

12345678
  1. 'use strict';
  2. require('../../modules/es6.weak-set');
  3. require('../../modules/es7.weak-set.of');
  4. var $WeakSet = require('../../modules/_core').WeakSet;
  5. var $of = $WeakSet.of;
  6. module.exports = function of() {
  7. return $of.apply(typeof this === 'function' ? this : $WeakSet, arguments);
  8. };