Debian Codegraph @

js/src/tests/test262/built-ins/global/property-descriptor.js

raw
1 // Copyright (C) 2016 Jordan Harband. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 esid: sec-other-properties-of-the-global-object-globalthis
6 description: "'globalThis' should be writable, non-enumerable, and configurable"
7 author: Jordan Harband
8 includes: [propertyHelper.js]
9 features: [globalThis]
10 ---*/
11
12 verifyProperty(this, "globalThis", {
13 enumerable: false,
14 writable: true,
15 configurable: true,
16 });
17
18 reportCompare(0, 0);