Lines Matching full:reflect
33 var keys = Reflect.ownKeys(obj);
39 var keys = Reflect.ownKeys(obj);
47 var keys = Reflect.ownKeys(obj)
53 var keys = Reflect.ownKeys([1, 2]);
64 keys = Reflect.ownKeys(obj);
71 keys = Reflect.ownKeys(obj);
78 keys = Reflect.ownKeys({0: 'foo', bar: 'baz'});
85 assertThrows(function() { Reflect.ownKeys(4) }, TypeError);
86 assertThrows(function() { Reflect.ownKeys("foo") }, TypeError);
87 assertThrows(function() { Reflect.ownKeys(true) }, TypeError);
89 assertEquals(Reflect.ownKeys(Object(4)), []);
90 assertEquals(Reflect.ownKeys(Object("foo")), ["0", "1", "2", "length"]);
91 assertEquals(Reflect.ownKeys(Object(true)), []);