Skip to content
This repository was archived by the owner on Oct 8, 2024. It is now read-only.

Commit 1c066c0

Browse files
fixes #115: @@toStringTag is writable now (#214)
1 parent f29d0cd commit 1c066c0

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

spec.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,9 @@ <h1>Iterator.prototype.find ( _fn_ )</h1>
687687
<emu-clause id="sec-iteratorprototype-@@tostringtag">
688688
<h1>Iterator.prototype [ @@toStringTag ]</h1>
689689
<p>The initial value of the @@toStringTag property is the String value "Iterator".</p>
690-
<p>This property has the attributes { [[Writable]]: *false*, [[Enumerable]]: *false*, [[Configurable]]: *true* }.</p>
690+
<emu-note>
691+
<p>Unlike the @@toStringTag on most built-in classes, for web-compatibility reasons this property must be writable.</p>
692+
</emu-note>
691693
</emu-clause>
692694
</emu-clause>
693695

@@ -964,7 +966,9 @@ <h1>AsyncIterator.prototype.find ( _fn_ )</h1>
964966
<emu-clause id="sec-asynciteratorprototype-@@tostringtag">
965967
<h1>AsyncIterator.prototype [ @@toStringTag ]</h1>
966968
<p>The initial value of the @@toStringTag property is the String value "Async Iterator".</p>
967-
<p>This property has the attributes { [[Writable]]: *false*, [[Enumerable]]: *false*, [[Configurable]]: *true* }.</p>
969+
<emu-note>
970+
<p>Unlike the @@toStringTag on most built-in classes, for web-compatibility reasons this property must be writable.</p>
971+
</emu-note>
968972
</emu-clause>
969973
</emu-clause>
970974
</emu-clause>

0 commit comments

Comments
 (0)