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, 'name' makes no change if every field in 'desc' is
9 absent (name is data property) (15.4.5.1 step 4.c)
10 includes: [propertyHelper.js]
15 arrObj[0] = 101; // default value of attributes: writable: true, configurable: true, enumerable: true
17 Object.defineProperty(arrObj, "0", {});
18 verifyEqualTo(arrObj, "0", 101);
20 verifyWritable(arrObj, "0");
22 verifyEnumerable(arrObj, "0");
24 verifyConfigurable(arrObj, "0");