| // Copyright (c) 2012 Ecma International. All rights reserved. |
| // This code is governed by the BSD license found in the LICENSE file. |
| Object.defineProperties - 'P' exists in 'O', test 'P' makes no |
| change if 'desc' is generic descriptor without any attribute |
| includes: [propertyHelper.js] |
| obj.foo = 100; // default value of attributes: writable: true, configurable: true, enumerable: true |
| Object.defineProperties(obj, { foo: {} }); |
| verifyEqualTo(obj, "foo", 100); |
| verifyWritable(obj, "foo"); |
| verifyEnumerable(obj, "foo"); |
| verifyConfigurable(obj, "foo"); |