Skip to content

Commit

Permalink
Add space to class string of iterator objects
Browse files Browse the repository at this point in the history
Fixes #419.
  • Loading branch information
TimothyGu committed Dec 6, 2017
1 parent 23ae9e7 commit 2fa398d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -4038,7 +4038,7 @@ that have [=members=] with these names.

typeof SessionManager.prototype.values; // Evaluates to "function"
var it = sm.values(); // values() returns an iterator object
<!-- String(it); // Evaluates to "[object SessionManagerIterator]"
<!-- String(it); // Evaluates to "[object SessionManager Iterator]"
// TODO: https://github.com/heycam/webidl/issues/419 -->
typeof it.next; // Evaluates to "function"

Expand Down Expand Up @@ -11854,7 +11854,7 @@ its index is set to 0.

The [=class string=] of a [=default iterator object=] for a given [=interface=]
is the result of concatenating the [=identifier=] of the [=interface=]
and the string "<code>Iterator</code>".
and the string "<code> Iterator</code>".


<h5 id="es-iterator-prototype-object">Iterator prototype object</h5>
Expand Down Expand Up @@ -11918,7 +11918,7 @@ must be {{%IteratorPrototype%}}.

The [=class string=] of an [=iterator prototype object=] for a given [=interface=]
is the result of concatenating the [=identifier=] of the [=interface=]
and the string "<code>Iterator</code>".
and the string "<code> Iterator</code>".


<h4 id="es-maplike">Maplike declarations</h4>
Expand Down

0 comments on commit 2fa398d

Please sign in to comment.