summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Temporal/prop-desc.js
blob: 03027d3dbb3cb2d864f4eae08b249dc63a1f95df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// |reftest| skip-if(!this.hasOwnProperty('Temporal')) -- Temporal is not enabled unconditionally
// Copyright (C) 2020 Igalia, S.L. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
esid: sec-temporal-objects
includes: [propertyHelper.js]
description: The "Temporal" property of the global object
features: [Temporal]
---*/

assert.sameValue(typeof Temporal, "object");
verifyProperty(this, "Temporal", {
  writable: true,
  enumerable: false,
  configurable: true,
});

reportCompare(0, 0);