1 // Copyright (c) 2012 Ecma International. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
5 es5id: 15.2.3.7-6-a-240
7 Object.defineProperties - TypeError is thrown if 'O' is an Array,
8 'P' is an array index named property that already exists on 'O' is
9 data property with [[Configurable]], [[Writable]] false, 'desc'
10 is data descriptor, [[Value]] field of 'desc' and the [[Value]]
11 attribute value of 'P' are two objects which refer to the
12 different objects (15.4.5.1 step 4.c)
13 includes: [propertyHelper.js]
24 Object.defineProperty(arr, "1", {
29 Object.defineProperties(arr, {
35 throw new Test262Error("Expected an exception.");
37 if (!(e instanceof TypeError)) {
38 throw new Test262Error("Expected TypeError, got " + e);
42 verifyProperty(arr, "1", {