Lines Matching refs:proxy
28 let proxy = new Proxy(set, {}); variable
30 res.set("test isEmpty:", proxy.isEmpty());
31 proxy.add(1);
32 proxy.add(2);
33 proxy.add(3);
35 res.set("test has 1:", proxy.has(1));
36 res.set("test has 2:", proxy.has(2));
37 res.set("test has 3:", proxy.has(3));
39 res.set("test has 4:", proxy.has(4) == false);
41 let iteratorValues1 = proxy.values();
45 let iteratorEntries1 = proxy.entries();
54 for (const item of proxy) {
57 for (const item in proxy) {
62 function TestForEach1(value, key, proxy) { argument
63 flag = proxy.has(key) && proxy.has(value);
66 proxy.forEach(TestForEach1);
76 res.set("test addAll:", dProxy.addAll(proxy));
77 res.set("test hasAll:", dProxy.hasAll(proxy));
133 proxy["aa"] = 3;