Index: src/array-iterator.js |
diff --git a/src/array-iterator.js b/src/array-iterator.js |
index 9511b6d95a483c6f56395dd5701a0325c530477d..8490909cafb9ec2a87c7eb81470aae3e4edbe13a 100644 |
--- a/src/array-iterator.js |
+++ b/src/array-iterator.js |
@@ -110,8 +110,8 @@ function SetUpArrayIterator() { |
'next', ArrayIteratorNext |
)); |
%FunctionSetName(ArrayIteratorIterator, '[Symbol.iterator]'); |
- %SetProperty(ArrayIterator.prototype, symbolIterator, ArrayIteratorIterator, |
- DONT_ENUM | DONT_DELETE | READ_ONLY); |
+ %AddProperty(ArrayIterator.prototype, symbolIterator, |
+ ArrayIteratorIterator, DONT_ENUM | DONT_DELETE | READ_ONLY); |
} |
SetUpArrayIterator(); |