name.js (1196B)
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.name property descriptor 7 info: | 8 Properties of the AggregateError Constructor 9 10 - has a name property whose value is the String value "AggregateError". 11 12 17 ECMAScript Standard Built-in Objects 13 14 Every built-in function object, including constructors, that is not 15 identified as an anonymous function has a name property whose value 16 is a String. Unless otherwise specified, this value is the name that 17 is given to the function in this specification. For functions that 18 are specified as properties of objects, the name value is the 19 property name string used to access the function. [...] 20 21 Unless otherwise specified, the name property of a built-in function 22 object, if it exists, has the attributes { [[Writable]]: false, 23 [[Enumerable]]: false, [[Configurable]]: true }. 24 includes: [propertyHelper.js] 25 features: [AggregateError] 26 ---*/ 27 28 verifyProperty(AggregateError, 'name', { 29 value: 'AggregateError', 30 writable: false, 31 enumerable: false, 32 configurable: true 33 }); 34 35 reportCompare(0, 0);