test262/test/built-ins/global/property-descriptor.js

17 lines
468 B
JavaScript

// 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,
});