Skip to content

Commit

Permalink
Editorial: %AsyncIterator.prototype% -> %AsyncIteratorPrototype%
Browse files Browse the repository at this point in the history
Commit f1b22ef (tc39#1376) changed 2 occurrences of
  "%AsyncIteratorPrototype%
to
  "%AsyncIterator.prototype%
but the latter assumes a well-known intrinsic named "%AsyncIterator%",
which doesn't exist.

This commit changes them back.
  • Loading branch information
jmdyck committed Sep 9, 2019
1 parent d1fd8f2 commit 5f76524
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -37092,7 +37092,7 @@ <h1>The %AsyncFromSyncIteratorPrototype% Object</h1>
<ul>
<li>has properties that are inherited by all Async-from-Sync Iterator Objects.</li>
<li>is an ordinary object.</li>
<li>has a [[Prototype]] internal slot whose value is %AsyncIterator.prototype%.</li>
<li>has a [[Prototype]] internal slot whose value is %AsyncIteratorPrototype%.</li>
<li>has the following properties:</li>
</ul>

Expand Down Expand Up @@ -37656,7 +37656,7 @@ <h1>Properties of the AsyncGenerator Prototype Object</h1>
<li>is the initial value of the `prototype` property of %AsyncGenerator% (the AsyncGeneratorFunction.prototype).</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 %AsyncIterator.prototype%.</li>
<li>has a [[Prototype]] internal slot whose value is %AsyncIteratorPrototype%.</li>
<li>has properties that are indirectly inherited by all AsyncGenerator instances.</li>
</ul>

Expand Down

0 comments on commit 5f76524

Please sign in to comment.