summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/annexB/built-ins/escape/prop-desc.js
blob: 6669166aae6566f5b1a7f2ae661ecfe0107a2b54 (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.1
description: >
    Object.getOwnPropertyDescriptor returns data desc for functions on
    built-ins (Global.escape)
includes: [propertyHelper.js]
---*/

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

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

reportCompare(0, 0);