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, the [[Get]] field of 'desc' and the [[Get]] attribute
9 value of 'name' are two objects which refer to the same object
11 includes: [propertyHelper.js]
15 arrObj.helpVerifySet = 10;
18 return arrObj.helpVerifySet;
21 function setFunc(value) {
22 arrObj.helpVerifySet = value;
25 Object.defineProperty(arrObj, "0", {
30 Object.defineProperty(arrObj, "0", {
33 verifyEqualTo(arrObj, "0", getFunc());
35 verifyWritable(arrObj, "0", "helpVerifySet");
37 verifyNotEnumerable(arrObj, "0");
39 verifyNotConfigurable(arrObj, "0");