summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/global/property-descriptor.js
blob: 6b30ec5c8616a8042f135fc4fa7d82e7c5703e87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright (C) 2016 Jordan Harband. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
esid: sec-other-properties-of-the-global-object-globalthis
description: "'globalThis' should be writable, non-enumerable, and configurable"
author: Jordan Harband
includes: [propertyHelper.js]
features: [globalThis]
---*/

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

reportCompare(0, 0);