length.js (1128B)
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-aggregate-error 6 description: AggregateError.length property descriptor 7 info: | 8 AggregateError ( errors, message ) 9 10 17 ECMAScript Standard Built-in Objects 11 12 Every built-in function object, including constructors, has a length 13 property whose value is an integer. Unless otherwise specified, this 14 value is equal to the largest number of named arguments shown in the 15 subclause headings for the function description. Optional parameters 16 (which are indicated with brackets: [ ]) or rest parameters (which 17 are shown using the form «...name») are not included in the default 18 argument count. 19 20 Unless otherwise specified, the length property of a built-in 21 function object has the attributes { [[Writable]]: false, 22 [[Enumerable]]: false, [[Configurable]]: true }. 23 includes: [propertyHelper.js] 24 features: [AggregateError] 25 ---*/ 26 27 verifyProperty(AggregateError, 'length', { 28 value: 2, 29 writable: false, 30 enumerable: false, 31 configurable: true 32 }); 33 34 reportCompare(0, 0);