main
Last change
on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
445 bytes
|
Rev | Line | |
---|
[79a0317] | 1 | 'use strict';
|
---|
| 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 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.