summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Temporal/Now/plainDateTimeISO/prop-desc.js
blob: f6ffe7b0352a8a87bc18b8dc86061b9f67432304 (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) 2021 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-temporal.now.plaindatetimeiso
description: The "plainDateTimeISO" property of Temporal.Now
includes: [propertyHelper.js]
features: [Temporal]
---*/

assert.sameValue(typeof Temporal.Now.plainDateTimeISO, "function", "typeof is function");

verifyProperty(Temporal.Now, 'plainDateTimeISO', {
  enumerable: false,
  writable: true,
  configurable: true
});

reportCompare(0, 0);