| // Copyright (c) 2012 Ecma International. All rights reserved. |
| // This code is governed by the BSD license found in the LICENSE file. |
| Object.defineProperty will update [[Value]] attribute of indexed |
| property successfully when [[Configurable]] attribute is true and |
| [[Writable]] attribute is false, 'O' is the global object (8.12.9 |
| includes: [propertyHelper.js] |
| Object.defineProperty(obj, "0", { |
| Object.defineProperty(obj, "0", { |
| verifyEqualTo(obj, "0", 1002); |
| verifyNotWritable(obj, "0"); |
| verifyNotEnumerable(obj, "0"); |
| verifyConfigurable(obj, "0"); |