length.js (932B)
1 // Copyright (C) 2019 Leo Balter. All rights reserved. 2 // This code is governed by the BSD license found in the LICENSE file. 3 4 /*--- 5 esid: sec-promise.allsettled 6 description: Promise.allSettled `length` property 7 info: | 8 ES Section 17: 9 Every built-in Function object, including constructors, has a length 10 property whose value is an integer. Unless otherwise specified, this value 11 is equal to the largest number of named arguments shown in the subclause 12 headings for the function description, including optional parameters. 13 14 [...] 15 16 Unless otherwise specified, the length property of a built-in Function 17 object has the attributes { [[Writable]]: false, [[Enumerable]]: false, 18 [[Configurable]]: true }. 19 includes: [propertyHelper.js] 20 features: [Promise.allSettled] 21 ---*/ 22 23 verifyProperty(Promise.allSettled, 'length', { 24 configurable: true, 25 writable: false, 26 enumerable: false, 27 value: 1, 28 }); 29 30 reportCompare(0, 0);