15.2.3.6-4-45.js (574B)
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-45 6 description: > 7 Object.defineProperty - 'O' is the global object that uses 8 Object's [[GetOwnProperty]] method to access the 'name' property 9 (8.12.9 step 1) 10 includes: [propertyHelper.js] 11 ---*/ 12 13 Object.defineProperty(this, "foo", { 14 value: 12, 15 configurable: true 16 }); 17 18 verifyProperty(this, "foo", { 19 value: 12, 20 writable: false, 21 enumerable: false, 22 configurable: true, 23 }); 24 25 reportCompare(0, 0);