Debian Codegraph @

js/src/tests/test262/built-ins/Date/UTC/length.js

raw
1 // Copyright (C) 2024 André Bargull. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 esid: sec-date.utc
6 description: >
7 Date.UTC.length is 7.
8 info: |
9 Date.UTC ( year [ , month [ , date [ , hours [ , minutes [ , seconds [ , ms ] ] ] ] ] ] )
10
11 The "length" property of this function is 7𝔽.
12
13 17 ECMAScript Standard Built-in Objects:
14 Unless otherwise specified, the "length" property of a built-in function
15 object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
16 [[Configurable]]: true }.
17 includes: [propertyHelper.js]
18 ---*/
19
20 verifyProperty(Date.UTC, "length", {
21 value: 7,
22 writable: false,
23 enumerable: false,
24 configurable: true,
25 });
26
27 reportCompare(0, 0);