清空
This commit is contained in:
1 parent
7c2ab0b7ad
commit
cff33ad7d1
6370 files changed
+378844
-82245
No files matched your search
+14
@@ -0,0 +1,14 @@
|
||||
'use strict';
|
||||
var uncurryThis = require('../internals/function-uncurry-this');
|
||||
|
||||
// eslint-disable-next-line es/no-weak-map -- safe
|
||||
var WeakMapPrototype = WeakMap.prototype;
|
||||
|
||||
module.exports = {
|
||||
// eslint-disable-next-line es/no-weak-map -- safe
|
||||
WeakMap: WeakMap,
|
||||
set: uncurryThis(WeakMapPrototype.set),
|
||||
get: uncurryThis(WeakMapPrototype.get),
|
||||
has: uncurryThis(WeakMapPrototype.has),
|
||||
remove: uncurryThis(WeakMapPrototype['delete'])
|
||||
};
|
||||
Reference in new issue
Block a user