UNPKG

364 BJavaScriptView Raw
1'use strict';
2var collection = require('../internals/collection');
3var collectionWeak = require('../internals/collection-weak');
4
5// `WeakSet` constructor
6// https://tc39.es/ecma262/#sec-weakset-constructor
7collection('WeakSet', function (init) {
8 return function WeakSet() { return init(this, arguments.length ? arguments[0] : undefined); };
9}, collectionWeak);