subclass-AggregateError.js (489B)
1 // This file was procedurally generated from the following sources: 2 // - src/subclass-builtins/AggregateError.case 3 // - src/subclass-builtins/default/statement.template 4 /*--- 5 description: new SubAggregateError() instanceof AggregateError (Subclass instanceof Heritage) 6 features: [AggregateError] 7 flags: [generated] 8 ---*/ 9 10 11 class Subclass extends AggregateError {} 12 13 const sub = new Subclass([]); 14 assert(sub instanceof Subclass); 15 assert(sub instanceof AggregateError); 16 17 reportCompare(0, 0);