Skip to content

Commit

Permalink
Editorial: Fix %Generator% and %AsyncGenerator% <dfn>s (tc39#2059)
Browse files Browse the repository at this point in the history
Co-authored-by: ExE Boss <3889017+ExE-Boss@users.noreply.github.com>
Co-authored-by: Jordan Harband <ljharb@gmail.com>
  • Loading branch information
ExE-Boss and ljharb committed Jul 2, 2020
1 parent 305d228 commit 4b7aa90
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -39096,10 +39096,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 @@ -39203,10 +39203,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 @@ -39266,7 +39266,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 @@ -39477,7 +39477,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 @@ -40758,10 +40758,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 4b7aa90

Please sign in to comment.