1 // Copyright (c) 2012 Ecma International. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
7 Object.defineProperty - 'O' is an Array, 'name' is an array index
8 property, test TypeError is thrown when the [[Value]] field of
9 'desc' and the [[Value]] attribute value of 'name' are two objects
10 which refer to two different objects (15.4.5.1 step 4.c)
11 includes: [propertyHelper.js]
19 Object.defineProperty(arrObj, 0, {
30 Object.defineProperty(arrObj, "0", {
33 throw new Test262Error("Expected an exception.");
35 if (!(e instanceof TypeError)) {
36 throw new Test262Error("Expected TypeError, got " + e);
40 verifyProperty(arrObj, "0", {