debian-mirror-gitlab/core-js/features/weak-set/of.js
2019-09-25 13:30:05 +05:30

13 lines
417 B
JavaScript

'use strict';
require('../../modules/es.string.iterator');
require('../../modules/es.weak-set');
require('../../modules/esnext.weak-set.of');
require('../../modules/web.dom-collections.iterator');
var path = require('../../internals/path');
var WeakSet = path.WeakSet;
var weakSetOf = WeakSet.of;
module.exports = function of() {
return weakSetOf.apply(typeof this === 'function' ? this : WeakSet, arguments);
};