prop-desc.js (531B)
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: B.2.1 6 description: > 7 Object.getOwnPropertyDescriptor returns data desc for functions on 8 built-ins (Global.escape) 9 includes: [propertyHelper.js] 10 ---*/ 11 12 assert.sameValue(typeof this.escape, "function"); 13 assert.sameValue(typeof this["escape"], "function"); 14 15 verifyProperty(this, "escape", { 16 writable: true, 17 enumerable: false, 18 configurable: true 19 }); 20 21 reportCompare(0, 0);