Lines Matching full:symbol

13   assertTrue(arguments.hasOwnProperty(Symbol.iterator));
14 assertFalse(arguments.propertyIsEnumerable(Symbol.iterator));
15 var descriptor = Object.getOwnPropertyDescriptor(arguments, Symbol.iterator);
19 assertEquals(descriptor.value, [][Symbol.iterator]);
20 assertEquals(arguments[Symbol.iterator], [][Symbol.iterator]);
27 assertTrue(o.hasOwnProperty(Symbol.iterator));
28 assertFalse(o.propertyIsEnumerable(Symbol.iterator));
29 assertEquals(o[Symbol.iterator], [][Symbol.iterator]);
40 var iterator = arguments[Symbol.iterator]();
51 var iterator = args[Symbol.iterator]();
61 var iterator = arguments[Symbol.iterator]();
76 var iterator = args[Symbol.iterator]();
90 var iterator = arguments[Symbol.iterator]();
102 var iterator = args[Symbol.iterator]();
113 var iterator = arguments[Symbol.iterator]();
127 var iterator = args[Symbol.iterator]();
152 arguments[Symbol.iterator] = [].entries;
207 assertSame([][Symbol.iterator], o[Symbol.iterator]);
210 assertFalse(o.hasOwnProperty(Symbol.iterator));
211 assertSame([][Symbol.iterator], o[Symbol.iterator]);
212 o[Symbol.iterator] = 10;
213 assertTrue(o.hasOwnProperty(Symbol.iterator));
214 assertEquals(10, o[Symbol.iterator]);
215 assertSame([][Symbol.iterator], arguments[Symbol.iterator]);
219 assertSame([][Symbol.iterator], o[Symbol.iterator]);
220 assertFalse(o.hasOwnProperty(Symbol.iterator));
221 assertSame([][Symbol.iterator], o[Symbol.iterator]);
225 o[Symbol.iterator] = 10;
226 assertFalse(o.hasOwnProperty(Symbol.iterator));
227 assertEquals([][Symbol.iterator], o[Symbol.iterator]);
228 assertSame([][Symbol.iterator], arguments[Symbol.iterator]);