Index: src/array-iterator.js |
diff --git a/src/array-iterator.js b/src/array-iterator.js |
index 7cf0db4c0be60f5b4aae03edb3fe6898ed54c283..0c7cda3aeccc3dc47326eac40c724c1363cf12de 100644 |
--- a/src/array-iterator.js |
+++ b/src/array-iterator.js |
@@ -128,7 +128,7 @@ function ArrayKeys() { |
InstallFunctions(ArrayIterator.prototype, DONT_ENUM, [ |
'next', ArrayIteratorNext |
]); |
-%FunctionSetName(ArrayIteratorIterator, '[Symbol.iterator]'); |
+SetFunctionName(ArrayIteratorIterator, symbolIterator); |
%AddNamedProperty(ArrayIterator.prototype, symbolIterator, |
ArrayIteratorIterator, DONT_ENUM); |
%AddNamedProperty(ArrayIterator.prototype, symbolToStringTag, |