André Bargull c65e2e1107 Move AggregateError and SuppressedError
Neither `AggregateError` nor `SuppressedError` are NativeErrors.
2025-07-07 15:50:31 +02:00

17 lines
531 B
JavaScript

// Copyright (C) 2023 Ron Buckton. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
description: The prototype of SuppressedError constructor is Error
esid: sec-properties-of-the-suppressederror-constructors
info: |
Properties of the SuppressedError Constructor
- has a [[Prototype]] internal slot whose value is the intrinsic object %Error%.
features: [explicit-resource-management]
---*/
var proto = Object.getPrototypeOf(SuppressedError);
assert.sameValue(proto, Error);