15.2.3.7-6-a-24.js (689B)
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.7-6-a-24 6 description: > 7 Object.defineProperties - 'O' is the global object which 8 implements its own [[GetOwnProperty]] method to get 'P' (8.12.9 9 step 1 ) 10 includes: [propertyHelper.js] 11 ---*/ 12 13 14 Object.defineProperty(this, "prop", { 15 value: 11, 16 writable: true, 17 enumerable: true, 18 configurable: true 19 }); 20 21 Object.defineProperties(this, { 22 prop: { 23 value: 12 24 } 25 }); 26 27 verifyProperty(this, "prop", { 28 value: 12, 29 writable: true, 30 enumerable: true, 31 configurable: true, 32 }); 33 34 delete this.prop; 35 36 reportCompare(0, 0);