Home | History | Annotate | Download | only in mjsunit

Lines Matching full:obj2

94 var obj2 = {};
97 Object.defineProperty(obj2, 'x', { get: get, set: set, configurable: true });
99 desc = Object.getOwnPropertyDescriptor(obj2, 'x');
105 assertTrue(Object.isExtensible(obj2));
106 assertFalse(Object.isFrozen(obj2));
107 Object.freeze(obj2);
108 assertTrue(Object.isFrozen(obj2));
109 assertFalse(Object.isExtensible(obj2));
111 desc = Object.getOwnPropertyDescriptor(obj2, 'x');
117 obj2.foo = 42;
118 assertEquals(obj2.foo, undefined);