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;
168 arguments[Symbol.iterator] = [].entries;
222 assertSame([][Symbol.iterator], o[Symbol.iterator]);
225 assertFalse(o.hasOwnProperty(Symbol.iterator));
226 assertSame([][Symbol.iterator], o[Symbol.iterator]);
227 o[Symbol.iterator] = 10;
228 assertTrue(o.hasOwnProperty(Symbol.iterator));
229 assertEquals(10, o[Symbol.iterator]);
230 assertSame([][Symbol.iterator], arguments[Symbol.iterator]);
234 assertSame([][Symbol.iterator], o[Symbol.iterator]);
235 assertFalse(o.hasOwnProperty(Symbol.iterator));
236 assertSame([][Symbol.iterator], o[Symbol.iterator]);
237 assertThrows(function () { o[Symbol.iterator] = 10 });
238 assertFalse(o.hasOwnProperty(Symbol.iterator));
239 assertEquals([][Symbol.iterator], o[Symbol.iterator]);
240 assertSame([][Symbol.iterator], arguments[Symbol.iterator]);