1 | ;
|
2 | var uncurryThis = require('../internals/function-uncurry-this');
|
3 |
|
4 | // eslint-disable-next-line es/no-weak-map -- safe
|
5 | var WeakMapPrototype = WeakMap.prototype;
|
6 |
|
7 | module.exports = {
|
8 | // eslint-disable-next-line es/no-weak-map -- safe
|
9 | WeakMap: WeakMap,
|
10 | set: uncurryThis(WeakMapPrototype.set),
|
11 | get: uncurryThis(WeakMapPrototype.get),
|
12 | has: uncurryThis(WeakMapPrototype.has),
|
13 | remove: uncurryThis(WeakMapPrototype['delete'])
|
14 | };
|