UNPKG

403 BJavaScriptView Raw
1'use strict';
2var uncurryThis = require('../internals/function-uncurry-this');
3
4// eslint-disable-next-line es/no-weak-set -- safe
5var WeakSetPrototype = WeakSet.prototype;
6
7module.exports = {
8 // eslint-disable-next-line es/no-weak-set -- safe
9 WeakSet: WeakSet,
10 add: uncurryThis(WeakSetPrototype.add),
11 has: uncurryThis(WeakSetPrototype.has),
12 remove: uncurryThis(WeakSetPrototype['delete'])
13};