Lines Matching refs:wm
16 const wm = new IterableWeakMap();
22 wm.set(_cache.moduleA, 'hello');
23 wm.set(_cache.moduleB, 'discard');
24 wm.set(_cache.moduleC, 'goodbye');
29 const values = [...wm];
36 const wm = new IterableWeakMap();
41 wm.set(_cache.moduleA, 'hello');
42 wm.set(_cache.moduleB, 'goodbye');
43 wm.set(_cache.moduleB, 'goodnight');
44 const values = [...wm];
50 const wm = new IterableWeakMap();
56 wm.set(_cache.moduleA, 'hello');
57 wm.set(_cache.moduleB, 'discard');
58 wm.set(_cache.moduleC, 'goodbye');
59 wm.delete(_cache.moduleB);
60 const values = [...wm];
66 const wm = new IterableWeakMap();
72 wm.set(_cache.moduleA, 'hello');
73 wm.set(_cache.moduleC, 'goodbye');
74 wm.delete(_cache.moduleB);
75 const values = [...wm];
81 const wm = new IterableWeakMap();
87 wm.set(_cache.moduleA, 'hello');
88 wm.set(_cache.moduleB, 'discard');
89 wm.set(_cache.moduleC, 'goodbye');
90 strictEqual(wm.get(_cache.moduleB), 'discard');
95 const wm = new IterableWeakMap();
99 wm.set(_cache.moduleA, 'hello');
100 strictEqual(wm.has(_cache.moduleA), true);