length.js (729B)
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-properties-of-the-date-constructor 6 description: > 7 Date.length is 7. 8 info: | 9 Properties of the Date Constructor 10 11 The Date constructor has a "length" property whose value 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, "length", { 21 value: 7, 22 writable: false, 23 enumerable: false, 24 configurable: true, 25 }); 26 27 reportCompare(0, 0);