Index: src/string-iterator.js |
diff --git a/src/string-iterator.js b/src/string-iterator.js |
index cb578e77e789e0776a9a4165e3855c19801658c2..dcaddaf2134dead96c0d8d04a3fd5b75adaab5c6 100644 |
--- a/src/string-iterator.js |
+++ b/src/string-iterator.js |
@@ -87,6 +87,8 @@ function SetUpStringIterator() { |
%FunctionSetName(StringIteratorIterator, '[Symbol.iterator]'); |
%AddNamedProperty(StringIterator.prototype, symbolIterator, |
StringIteratorIterator, DONT_ENUM); |
+ %AddNamedProperty(StringIterator.prototype, symbolToStringTag, |
+ "String Iterator", READ_ONLY | DONT_ENUM); |
} |
SetUpStringIterator(); |