Debian Codegraph @

js/src/tests/test262/built-ins/Date/UTC/prop-desc.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 Property descriptor for Date.UTC.
8 info: |
9 Date.UTC ( year [ , month [ , date [ , hours [ , minutes [ , seconds [ , ms ] ] ] ] ] ] )
10
11 17 ECMAScript Standard Built-in Objects:
12 Every other data property described in clauses 19 through 28 and in
13 Annex B.2 has the attributes { [[Writable]]: true, [[Enumerable]]: false,
14 [[Configurable]]: true } unless otherwise specified.
15 includes: [propertyHelper.js]
16 ---*/
17
18 verifyProperty(Date, "UTC", {
19 writable: true,
20 enumerable: false,
21 configurable: true,
22 });
23
24 reportCompare(0, 0);