Lines Matching refs:obj2
98 var obj2 = {}; variable
101 Object.defineProperty(obj2, 'x', { get: get, set: set, configurable: true });
103 desc = Object.getOwnPropertyDescriptor(obj2, 'x');
109 assertTrue(Object.isExtensible(obj2));
110 assertFalse(Object.isFrozen(obj2));
111 Object.freeze(obj2);
112 assertTrue(Object.isFrozen(obj2));
113 assertFalse(Object.isExtensible(obj2));
115 desc = Object.getOwnPropertyDescriptor(obj2, 'x');
121 obj2.foo = 42;
122 assertEquals(obj2.foo, undefined);