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

17 lines
468 B
JavaScript
Raw Normal View History

// Copyright (C) 2016 Jordan Harband. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
2018-07-26 02:11:53 +02:00
esid: sec-other-properties-of-the-global-object-globalthis
description: "'globalThis' should be writable, non-enumerable, and configurable"
author: Jordan Harband
includes: [propertyHelper.js]
2018-07-26 02:11:53 +02:00
features: [globalThis]
---*/
2018-07-26 02:11:53 +02:00
verifyProperty(this, "globalThis", {
2018-06-19 00:00:19 +02:00
enumerable: false,
writable: true,
configurable: true,
});