blob: 2a7c1731cdc1acc2cde905344732a35d45f3f06f [file] [log] [blame]
// Copyright (C) 2020 André Bargull. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-properties-of-the-aggregate-error-prototype-objects
description: >
The AggregateError prototype object isn't an AggregateError instance.
info: |
Properties of the AggregateError Prototype Object
The AggregateError prototype object:
...
- is not an Error instance or an AggregateError instance and does not have an
[[ErrorData]] internal slot.
...
features: [AggregateError]
---*/
assert.sameValue(AggregateError.prototype.hasOwnProperty("errors"), false);