new AggregateError([]) instanceof Error // β trueAggregateError extends Error and inherits all standard error properties.
The .errors property holds all the errors passed to the constructor.
Challenge: Verify that .errors.length equals the number of errors passed.