JS Built-ins
AggregateErrorbeginner

AggregateError β€” .name property

πŸ“– Usage Example
new AggregateError([]).name  // β†’ 'AggregateError'

The name property of an AggregateError is always 'AggregateError'.

AggregateError Name

Every AggregateError has a .name property equal to 'AggregateError'.

Challenge: Verify the .name property.

πŸ’‘ Hints (1)
  • β€’ Error subtypes have a .name property matching their constructor name.