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 named property, TypeError is thrown if the [[Configurable]]
9 attribute value of 'name' is false, and [[Enumerable]] of 'desc'
10 is present and its value is different from the [[Enumerable]]
11 attribute value of 'name' (15.4.5.1 step 4.c)
12 includes: [propertyHelper.js]
18 Object.defineProperty(arrObj, "1", {
26 Object.defineProperty(arrObj, "1", {
31 throw new Test262Error("Expected an exception.");
33 if (!(e instanceof TypeError)) {
34 throw new Test262Error("Expected TypeError, got " + e);
38 verifyProperty(arrObj, "1", {