Skip to content

Commit 6b679d9

Browse files
committed
Editorial: Consistify capitalization re iterator wording
It looks like PR #3459 missed these changes to capitalization and use of "<em>".
1 parent 4c44bbe commit 6b679d9

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

spec.html

+9-9
Original file line numberDiff line numberDiff line change
@@ -3330,7 +3330,7 @@ <h1>Well-Known Intrinsic Objects</h1>
33303330
<td>
33313331
</td>
33323332
<td>
3333-
The prototype of async-from-sync iterator objects (<emu-xref href="#sec-async-from-sync-iterator-objects"></emu-xref>)
3333+
The prototype of Async-from-Sync Iterator objects (<emu-xref href="#sec-async-from-sync-iterator-objects"></emu-xref>)
33343334
</td>
33353335
</tr>
33363336
<tr>
@@ -3567,7 +3567,7 @@ <h1>Well-Known Intrinsic Objects</h1>
35673567
<td>
35683568
</td>
35693569
<td>
3570-
The prototype of For-In iterator objects (<emu-xref href="#sec-for-in-iterator-objects"></emu-xref>)
3570+
The prototype of For-In Iterator objects (<emu-xref href="#sec-for-in-iterator-objects"></emu-xref>)
35713571
</td>
35723572
</tr>
35733573
<tr>
@@ -22505,7 +22505,7 @@ <h1>%ForInIteratorPrototype%.next ( )</h1>
2250522505
<emu-alg>
2250622506
1. Let _O_ be the *this* value.
2250722507
1. Assert: _O_ is an Object.
22508-
1. Assert: _O_ has all of the internal slots of a For-In Iterator Instance (<emu-xref href="#sec-properties-of-for-in-iterator-instances"></emu-xref>).
22508+
1. Assert: _O_ has all of the internal slots of a For-In Iterator instance (<emu-xref href="#sec-properties-of-for-in-iterator-instances"></emu-xref>).
2250922509
1. Let _object_ be _O_.[[Object]].
2251022510
1. Repeat,
2251122511
1. If _O_.[[ObjectWasVisited]] is *false*, then
@@ -42269,7 +42269,7 @@ <h1>Properties of Map Instances</h1>
4226942269

4227042270
<emu-clause id="sec-map-iterator-objects">
4227142271
<h1>Map Iterator Objects</h1>
42272-
<p>A <dfn variants="Map Iterators,Map Iterator object,Map Iterator objects">Map Iterator</dfn> is an object that represents a specific iteration over some specific Map instance object. There is not a named constructor for Map Iterator objects. Instead, map iterator objects are created by calling certain methods of Map instance objects.</p>
42272+
<p>A <dfn variants="Map Iterators,Map Iterator object,Map Iterator objects">Map Iterator</dfn> is an object that represents a specific iteration over some specific Map instance object. There is not a named constructor for Map Iterator objects. Instead, Map Iterator objects are created by calling certain methods of Map instance objects.</p>
4227342273

4227442274
<emu-clause id="sec-createmapiterator" type="abstract operation" oldids="sec-properties-of-map-iterator-instances,table-50,table-internal-slots-of-map-iterator-instances">
4227542275
<h1>
@@ -42901,7 +42901,7 @@ <h1>Properties of Set Instances</h1>
4290142901

4290242902
<emu-clause id="sec-set-iterator-objects">
4290342903
<h1>Set Iterator Objects</h1>
42904-
<p>A <dfn variants="Set Iterators,Set Iterator object,Set Iterator objects">Set Iterator</dfn> is an ordinary object, with the structure defined below, that represents a specific iteration over some specific Set instance object. There is not a named constructor for Set Iterator objects. Instead, set iterator objects are created by calling certain methods of Set instance objects.</p>
42904+
<p>A <dfn variants="Set Iterators,Set Iterator object,Set Iterator objects">Set Iterator</dfn> is an ordinary object, with the structure defined below, that represents a specific iteration over some specific Set instance object. There is not a named constructor for Set Iterator objects. Instead, Set Iterator objects are created by calling certain methods of Set instance objects.</p>
4290542905

4290642906
<emu-clause id="sec-createsetiterator" type="abstract operation" oldids="sec-properties-of-set-iterator-instances,table-51,table-internal-slots-of-set-iterator-instances">
4290742907
<h1>
@@ -46413,7 +46413,7 @@ <h1>The Iterator Interface</h1>
4641346413
</table>
4641446414
</emu-table>
4641546415
<emu-note>
46416-
<p>Arguments may be passed to the `next` function but their interpretation and validity is dependent upon the target iterator. The for-of statement and other common users of <em>Iterators</em> do not pass any arguments, so iterator objects that expect to be used in such a manner must be prepared to deal with being called with no arguments.</p>
46416+
<p>Arguments may be passed to the `next` function but their interpretation and validity is dependent upon the target iterator. The for-of statement and other common users of iterators do not pass any arguments, so iterator objects that expect to be used in such a manner must be prepared to deal with being called with no arguments.</p>
4641746417
</emu-note>
4641846418
<emu-table id="table-iterator-interface-optional-properties" caption="Iterator Interface Optional Properties" oldids="table-54">
4641946419
<table>
@@ -46504,7 +46504,7 @@ <h1>The Async Iterator Interface</h1>
4650446504
</table>
4650546505
</emu-table>
4650646506
<emu-note>
46507-
<p>Arguments may be passed to the `next` function but their interpretation and validity is dependent upon the target async iterator. The `for`-`await`-`of` statement and other common users of <em>AsyncIterators</em> do not pass any arguments, so async iterator objects that expect to be used in such a manner must be prepared to deal with being called with no arguments.</p>
46507+
<p>Arguments may be passed to the `next` function but their interpretation and validity is dependent upon the target async iterator. The `for`-`await`-`of` statement and other common users of async iterators do not pass any arguments, so async iterator objects that expect to be used in such a manner must be prepared to deal with being called with no arguments.</p>
4650846508
</emu-note>
4650946509
<emu-table id="table-async-iterator-optional" caption="Async Iterator Interface Optional Properties">
4651046510
<table>
@@ -46566,7 +46566,7 @@ <h1>The IteratorResult Interface</h1>
4656646566
a Boolean
4656746567
</td>
4656846568
<td>
46569-
This is the result status of an <em>iterator</em> `next` method call. If the end of the iterator was reached *"done"* is *true*. If the end was not reached *"done"* is *false* and a value is available. If a *"done"* property (either own or inherited) does not exist, it is considered to have the value *false*.
46569+
This is the result status of an iterator `next` method call. If the end of the iterator was reached *"done"* is *true*. If the end was not reached *"done"* is *false* and a value is available. If a *"done"* property (either own or inherited) does not exist, it is considered to have the value *false*.
4657046570
</td>
4657146571
</tr>
4657246572
<tr>
@@ -46722,7 +46722,7 @@ <h1>The %Iterator.prototype% Object</h1>
4672246722
<li>is an ordinary object.</li>
4672346723
</ul>
4672446724
<emu-note>
46725-
<p>All objects defined in this specification that implement the Iterator interface also inherit from %Iterator.prototype%. ECMAScript code may also define objects that inherit from %Iterator.prototype%. The %Iterator.prototype% object provides a place where additional methods that are applicable to all iterator objects may be added.</p>
46725+
<p>All objects defined in this specification that implement the iterator interface also inherit from %Iterator.prototype%. ECMAScript code may also define objects that inherit from %Iterator.prototype%. The %Iterator.prototype% object provides a place where additional methods that are applicable to all iterator objects may be added.</p>
4672646726
<p>The following expression is one way that ECMAScript code can access the %Iterator.prototype% object:</p>
4672746727
<pre><code class="javascript">Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()))</code></pre>
4672846728
</emu-note>

0 commit comments

Comments
 (0)