Lines Matching refs:obj2
101 var obj2 = {}; variable
104 Object.defineProperty(obj2, 'x', { get: get, set: set, configurable: true });
106 desc = Object.getOwnPropertyDescriptor(obj2, 'x');
112 assertTrue(Object.isExtensible(obj2));
113 assertFalse(Object.isSealed(obj2));
114 Object.seal(obj2);
118 assertTrue(Object.isFrozen(obj2));
119 assertFalse(Object.isExtensible(obj2));
120 assertTrue(Object.isSealed(obj2));
122 desc = Object.getOwnPropertyDescriptor(obj2, 'x');
128 obj2.foo = 42;
129 assertEquals(obj2.foo, undefined);