Home | History | Annotate | Download | only in mjsunit

Lines Matching full:obj2

333 var obj2 = {};
336 Object.defineProperty(obj2, "foo", accessorConfigurable);
339 Object.defineProperty(obj2, "foo", dataConfigurable);
340 desc = Object.getOwnPropertyDescriptor(obj2, "foo");
341 assertEquals(obj2.foo, 1000);
351 Object.defineProperty(obj2, "foo", accessorConfigurable);
352 desc = Object.getOwnPropertyDescriptor(obj2, "foo");
359 assertEquals(1, obj2.foo = 1);
362 assertEquals(3, obj2.foo);
365 Object.defineProperty(obj2, "bar", dataConfigurable)
368 Object.defineProperty(obj2, "bar", accessorConfigurable);
369 desc = Object.getOwnPropertyDescriptor(obj2, "bar");
376 assertEquals(1, obj2.bar = 1);
379 assertEquals(4, obj2.foo);
382 Object.defineProperty(obj2, "bar", dataConfigurable);
383 desc = Object.getOwnPropertyDescriptor(obj2, "bar");
384 assertEquals(obj2.bar, 1000);