test262/test/built-ins/Date/UTC/prop-desc.js

23 lines
690 B
JavaScript

// Copyright (C) 2024 André Bargull. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-date.utc
description: >
Property descriptor for Date.UTC.
info: |
Date.UTC ( year [ , month [ , date [ , hours [ , minutes [ , seconds [ , ms ] ] ] ] ] ] )
17 ECMAScript Standard Built-in Objects:
Every other data property described in clauses 19 through 28 and in
Annex B.2 has the attributes { [[Writable]]: true, [[Enumerable]]: false,
[[Configurable]]: true } unless otherwise specified.
includes: [propertyHelper.js]
---*/
verifyProperty(Date, "UTC", {
writable: true,
enumerable: false,
configurable: true,
});