15.2.3.5-4-309.js (556B)
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.5-4-309 6 description: > 7 Object.create - [[Configurable]] is set as false if it is absent 8 in data descriptor of one property in 'Properties' (8.12.9 step 9 4.a.i) 10 includes: [propertyHelper.js] 11 ---*/ 12 13 var newObj = Object.create({}, { 14 prop: { 15 value: 1001, 16 writable: true, 17 enumerable: true 18 } 19 }); 20 21 verifyProperty(newObj, "prop", { 22 configurable: false, 23 }); 24 25 reportCompare(0, 0);