Debian Codegraph @

js/src/tests/test262/built-ins/Temporal/Now/plainDateTimeISO/prop-desc.js

raw
1 // |reftest| shell-option(--enable-temporal) skip-if(!this.hasOwnProperty('Temporal')||!xulRuntime.shell) -- Temporal is not enabled unconditionally, requires shell-options
2 // Copyright (C) 2021 the V8 project authors. All rights reserved.
3 // This code is governed by the BSD license found in the LICENSE file.
4 /*---
5 esid: sec-temporal.now.plaindatetimeiso
6 description: The "plainDateTimeISO" property of Temporal.Now
7 includes: [propertyHelper.js]
8 features: [Temporal]
9 ---*/
10
11 assert.sameValue(typeof Temporal.Now.plainDateTimeISO, "function", "typeof is function");
12
13 verifyProperty(Temporal.Now, 'plainDateTimeISO', {
14 enumerable: false,
15 writable: true,
16 configurable: true
17 });
18
19 reportCompare(0, 0);