Home | History | Annotate | Download | only in harmony

Lines Matching defs:target

8 var target = { a: 1 };
9 var proxy = new Proxy(target, handler);
11 assertTrue(target.propertyIsEnumerable('a'));
13 assertFalse(target.propertyIsEnumerable('b'));
16 handler.getOwnPropertyDescriptor = function(target, prop) {
19 assertTrue(target.propertyIsEnumerable('a'));
21 assertFalse(target.propertyIsEnumerable('b'));
24 handler.getOwnPropertyDescriptor = function(target, prop) {
27 assertTrue(target.propertyIsEnumerable('a'));
29 assertFalse(target.propertyIsEnumerable('b'));