15.2.3.6-4-52.js (592B)
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-52 6 description: > 7 Object.defineProperty - 'desc' is generic descriptor without any 8 attribute, test 'name' is defined in 'obj' with all default 9 attribute values (8.12.9 step 4.a.i) 10 includes: [propertyHelper.js] 11 ---*/ 12 13 var obj = {}; 14 15 Object.defineProperty(obj, "property", {}); 16 17 verifyProperty(obj, "property", { 18 value: undefined, 19 writable: false, 20 enumerable: false, 21 configurable: false, 22 }); 23 24 reportCompare(0, 0);