From 4e32b14a80e6ec527532e46889a5cb41eb053b07 Mon Sep 17 00:00:00 2001 From: Timothy Gu Date: Fri, 23 Feb 2018 02:17:57 -0800 Subject: [PATCH] Remove definition of class strings of default iterator objects (#501) Per consensus reached in #483, class strings should only exist on iterator prototype objects. --- index.bs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/index.bs b/index.bs index d627c3f0..800c5535 100644 --- a/index.bs +++ b/index.bs @@ -11909,9 +11909,10 @@ use standard ECMAScript Array iterator objects. When a [=default iterator object=] is first created, 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 " Iterator". +[=Default iterator objects=] do not have [=class strings=]; when Object.prototype.toString() is called on a [=default +iterator object=] of a given [=interface=], the [=class string=] of the +[=iterator prototype object=] of that [=interface=] is used.
Iterator prototype object