15.2.3.6-4-82.js (617B)
1 // Copyright (c) 2012 Ecma International. All rights reserved. 2 // This code is governed by the BSD license found in the LICENSE file. 3 4 /*--- 5 es5id: 15.2.3.6-4-82 6 description: > 7 Object.defineProperty - desc.configurable and name.configurable 8 are boolean negation of each other (8.12.9 step 6) 9 includes: [propertyHelper.js] 10 ---*/ 11 12 13 var obj = {}; 14 15 Object.defineProperty(obj, "foo", { 16 configurable: true 17 }); 18 19 Object.defineProperty(obj, "foo", { 20 configurable: false 21 }); 22 23 verifyProperty(obj, "foo", { 24 value: undefined, 25 writable: false, 26 enumerable: false, 27 configurable: false, 28 }); 29 30 reportCompare(0, 0);