Backed out 2 changesets (bug 1908320) for causing wr failures on align-items-baseline...
[gecko.git] / js / src / tests / test262 / built-ins / Temporal / ZonedDateTime / length.js
blobc07bca45c5d8776234ebb3e7b0d17bd7d9021564
1 // |reftest| skip-if(!this.hasOwnProperty('Temporal')) -- Temporal is not enabled unconditionally
2 // Copyright (C) 2021 Igalia, S.L. All rights reserved.
3 // This code is governed by the BSD license found in the LICENSE file.
5 /*---
6 esid: sec-temporal.zoneddatetime
7 description: Temporal.ZonedDateTime.length is 2
8 info: |
9     Every built-in function object, including constructors, has a "length" property whose value is
10     an integer. Unless otherwise specified, this value is equal to the largest number of named
11     arguments shown in the subclause headings for the function description. Optional parameters
12     (which are indicated with brackets: [ ]) or rest parameters (which are shown using the form
13     «...name») are not included in the default argument count.
15     Unless otherwise specified, the "length" property of a built-in function object has the
16     attributes { [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: true }.
17 includes: [propertyHelper.js]
18 features: [Temporal]
19 ---*/
21 verifyProperty(Temporal.ZonedDateTime, "length", {
22   value: 2,
23   writable: false,
24   enumerable: false,
25   configurable: true,
26 });
28 reportCompare(0, 0);