Index: src/array-iterator.js |
diff --git a/src/array-iterator.js b/src/array-iterator.js |
index 9511b6d95a483c6f56395dd5701a0325c530477d..de52922dd187fc354651afb10be958b12a0535a8 100644 |
--- a/src/array-iterator.js |
+++ b/src/array-iterator.js |
@@ -111,7 +111,7 @@ function SetUpArrayIterator() { |
)); |
%FunctionSetName(ArrayIteratorIterator, '[Symbol.iterator]'); |
%SetProperty(ArrayIterator.prototype, symbolIterator, ArrayIteratorIterator, |
- DONT_ENUM | DONT_DELETE | READ_ONLY); |
+ DONT_ENUM); |
} |
SetUpArrayIterator(); |
@@ -124,5 +124,7 @@ function ExtendArrayPrototype() { |
'values', ArrayValues, |
'keys', ArrayKeys |
)); |
+ |
+ %SetProperty($Array.prototype, symbolIterator, ArrayValues, DONT_ENUM); |
} |
ExtendArrayPrototype(); |