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