Debian Codegraph @

js/src/tests/test262/built-ins/NativeErrors/AggregateError/proto.js

raw
1 // Copyright (C) 2019 Leo Balter. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 description: The prototype of AggregateError constructor is Error
6 esid: sec-aggregate-error
7 info: |
8 Properties of the AggregateError Constructor
9
10 - has a [[Prototype]] internal slot whose value is the intrinsic object %Error%.
11 features: [AggregateError]
12 ---*/
13
14 var proto = Object.getPrototypeOf(AggregateError);
15
16 assert.sameValue(proto, Error);
17
18 reportCompare(0, 0);