Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

Commit

Permalink
Add The _AggregateError_ Constructors part
Browse files Browse the repository at this point in the history
  • Loading branch information
chicoxyzzy committed Sep 25, 2019
1 parent b5621b6 commit e6d18a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ <h1>_AggregateError_ Object Structure</h1>
<h1>The _AggregateError_ Constructors</h1>
<p>Each _AggregateError_ constructor:</p>
<ul>
<li>TODO</li>
<li>creates and initializes a new _AggregateError_ object when called as a function rather than as a constructor. A call of the object as a function is equivalent to calling it as a constructor with the same arguments. Thus the function call <code><var>AggregateError</var>(&hellip;)</code> is equivalent to the object creation expression <code>new <var>AggregateError</var>(&hellip;)</code> with the same arguments.</li>
<li>is designed to be subclassable. It may be used as the value of an `extends` clause of a class definition. Subclass constructors that intend to inherit the specified _AggregateError_ behaviour must include a `super` call to the _AggregateError_ constructor to create and initialize subclass instances with an [[ErrorData]] internal slot.</li>
</ul>

<emu-clause id="sec-aggregateerror">
Expand Down

0 comments on commit e6d18a0

Please sign in to comment.