mirror of
https://github.com/tc39/test262.git
synced 2025-07-31 01:44:54 +02:00
17 lines
531 B
JavaScript
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);
|