Skip to content

Commit

Permalink
Editorial: Fix %Generator% and %AsyncGenerator% <dfn>s (#2059)
Browse files Browse the repository at this point in the history
Co-authored-by: ExE Boss <[email protected]>
Co-authored-by: Jordan Harband <[email protected]>
  • Loading branch information
ExE-Boss and ljharb committed Jul 16, 2020
1 parent e68f35a commit e8fd7ba
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -39094,10 +39094,10 @@ <h1>GeneratorFunction.prototype</h1>
<h1>Properties of the GeneratorFunction Prototype Object</h1>
<p>The GeneratorFunction prototype object:</p>
<ul>
<li>is <dfn>%Generator%</dfn> (see <emu-xref href="#figure-2"></emu-xref>).</li>
<li>is <dfn>%GeneratorFunction.prototype%</dfn>.</li>
<li>is an ordinary object.</li>
<li>is not a function object and does not have an [[ECMAScriptCode]] internal slot or any other of the internal slots listed in <emu-xref href="#table-27"></emu-xref> or <emu-xref href="#table-56"></emu-xref>.</li>
<li>is the value of the *"prototype"* property of %GeneratorFunction%.</li>
<li>is <dfn>%Generator%</dfn> (see Figure 2).</li>
<li>has a [[Prototype]] internal slot whose value is %Function.prototype%.</li>
</ul>

Expand Down Expand Up @@ -39192,7 +39192,7 @@ <h1>AsyncGeneratorFunction.length</h1>

<emu-clause id="sec-asyncgeneratorfunction-prototype">
<h1>AsyncGeneratorFunction.prototype</h1>
<p>The initial value of `AsyncGeneratorFunction.prototype` is <dfn>%AsyncGenerator%</dfn>.</p>
<p>The initial value of `AsyncGeneratorFunction.prototype` is %AsyncGenerator%.</p>
<p>This property has the attributes { [[Writable]]: *false*, [[Enumerable]]: *false*, [[Configurable]]: *false* }.</p>
</emu-clause>
</emu-clause>
Expand All @@ -39201,10 +39201,10 @@ <h1>AsyncGeneratorFunction.prototype</h1>
<h1>Properties of the AsyncGeneratorFunction Prototype Object</h1>
<p>The AsyncGeneratorFunction prototype object:</p>
<ul>
<li>is <dfn>%AsyncGenerator%</dfn>.</li>
<li>is <dfn>%AsyncGeneratorFunction.prototype%</dfn>.</li>
<li>is an ordinary object.</li>
<li>is not a function object and does not have an [[ECMAScriptCode]] internal slot or any other of the internal slots listed in <emu-xref href="#table-27"></emu-xref> or <emu-xref href="#table-internal-slots-of-asyncgenerator-instances"></emu-xref>.</li>
<li>is the value of the *"prototype"* property of %AsyncGeneratorFunction%.</li>
<li>is %AsyncGenerator%.</li>
<li>has a [[Prototype]] internal slot whose value is %Function.prototype%.</li>
</ul>

Expand Down Expand Up @@ -39264,7 +39264,7 @@ <h1>Properties of the Generator Prototype Object</h1>
<p>The Generator prototype object:</p>
<ul>
<li>is <dfn>%GeneratorPrototype%</dfn>.</li>
<li>is the initial value of the *"prototype"* property of %Generator% (the `GeneratorFunction.prototype`).</li>
<li>is <dfn>%Generator.prototype%</dfn> (<dfn>%GeneratorFunction.prototype.prototype%</dfn>).</li>
<li>is an ordinary object.</li>
<li>is not a Generator instance and does not have a [[GeneratorState]] internal slot.</li>
<li>has a [[Prototype]] internal slot whose value is %IteratorPrototype%.</li>
Expand Down Expand Up @@ -39475,7 +39475,7 @@ <h1>Properties of the AsyncGenerator Prototype Object</h1>
<p>The AsyncGenerator prototype object:</p>
<ul>
<li>is <dfn>%AsyncGeneratorPrototype%</dfn>.</li>
<li>is the initial value of the *"prototype"* property of %AsyncGenerator% (the `AsyncGeneratorFunction.prototype`).</li>
<li>is <dfn>%AsyncGenerator.prototype%</dfn> (<dfn>%AsyncGeneratorFunction.prototype.prototype%</dfn>).</li>
<li>is an ordinary object.</li>
<li>is not an AsyncGenerator instance and does not have an [[AsyncGeneratorState]] internal slot.</li>
<li>has a [[Prototype]] internal slot whose value is %AsyncIteratorPrototype%.</li>
Expand Down Expand Up @@ -40752,10 +40752,10 @@ <h1>AsyncFunction.prototype</h1>
<h1>Properties of the AsyncFunction Prototype Object</h1>
<p>The AsyncFunction prototype object:</p>
<ul>
<li>is <dfn>%AsyncFunctionPrototype%</dfn>.</li>
<li>is <dfn>%AsyncFunction.prototype%</dfn>.</li>
<li>is an ordinary object.</li>
<li>is not a function object and does not have an [[ECMAScriptCode]] internal slot or any other of the internal slots listed in <emu-xref href="#table-27"></emu-xref>.</li>
<li>is the value of the *"prototype"* property of %AsyncFunction%.</li>
<li>is <dfn>%AsyncFunctionPrototype%</dfn>.</li>
<li>has a [[Prototype]] internal slot whose value is %Function.prototype%.</li>
</ul>

Expand Down

0 comments on commit e8fd7ba

Please sign in to comment.