| // Copyright (c) 2012 Ecma International. All rights reserved. |
| // This code is governed by the BSD license found in the LICENSE file. |
| Object.defineProperties - 'O' is an Array, 'P' is an array index |
| property, the [[Set]] field of 'desc' and the [[Set]] attribute |
| value of 'P' are two objects which refer to the same object |
| includes: [propertyHelper.js] |
| function set_func(value) { |
| arr.setVerifyHelpProp = value; |
| Object.defineProperty(arr, "0", { |
| Object.defineProperties(arr, { |
| verifyWritable(arr, "0", "setVerifyHelpProp"); |
| verifyNotEnumerable(arr, "0"); |
| verifyNotConfigurable(arr, "0"); |