diff --git a/spec.html b/spec.html index 652ddce78b..9b343411fb 100644 --- a/spec.html +++ b/spec.html @@ -3330,7 +3330,7 @@

Well-Known Intrinsic Objects

- The prototype of async-from-sync iterator objects () + The prototype of Async-from-Sync Iterator objects () @@ -3567,7 +3567,7 @@

Well-Known Intrinsic Objects

- The prototype of For-In iterator objects () + The prototype of For-In Iterator objects () @@ -22505,7 +22505,7 @@

%ForInIteratorPrototype%.next ( )

1. Let _O_ be the *this* value. 1. Assert: _O_ is an Object. - 1. Assert: _O_ has all of the internal slots of a For-In Iterator Instance (). + 1. Assert: _O_ has all of the internal slots of a For-In Iterator instance (). 1. Let _object_ be _O_.[[Object]]. 1. Repeat, 1. If _O_.[[ObjectWasVisited]] is *false*, then @@ -42269,7 +42269,7 @@

Properties of Map Instances

Map Iterator Objects

-

A Map Iterator 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.

+

A Map Iterator 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.

@@ -42901,7 +42901,7 @@

Properties of Set Instances

Set Iterator Objects

-

A Set Iterator 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.

+

A Set Iterator 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.

@@ -46413,7 +46413,7 @@

The Iterator Interface

-

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.

+

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.

@@ -46504,7 +46504,7 @@

The Async Iterator Interface

-

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 AsyncIterators 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.

+

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.

@@ -46566,7 +46566,7 @@

The IteratorResult Interface

a Boolean @@ -46722,7 +46722,7 @@

The %Iterator.prototype% Object

  • is an ordinary object.
  • -

    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.

    +

    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.

    The following expression is one way that ECMAScript code can access the %Iterator.prototype% object:

    Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()))
    - 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*. + 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*.