summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/annexB/built-ins/unescape/prop-desc.js
blob: 67a88bc87aadea0525cf7e8ee181b37a7eb0ddf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright (c) 2012 Ecma International.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
es5id: B.2.2
description: >
    Object.getOwnPropertyDescriptor returns data desc for functions on
    built-ins (Global.unescape)
includes: [propertyHelper.js]
---*/

assert.sameValue(typeof this.unescape, "function");
assert.sameValue(typeof this["unescape"], "function");

verifyProperty(this, "unescape", {
  writable: true,
  enumerable: false,
  configurable: true
});

reportCompare(0, 0);