Index: src/array-iterator.js |
diff --git a/src/array-iterator.js b/src/array-iterator.js |
index 9511b6d95a483c6f56395dd5701a0325c530477d..40e6e80ce658730b8fc7e73d6d5356bfe7cbdebd 100644 |
--- a/src/array-iterator.js |
+++ b/src/array-iterator.js |
@@ -124,5 +124,8 @@ function ExtendArrayPrototype() { |
'values', ArrayValues, |
'keys', ArrayKeys |
)); |
+ |
+ %SetProperty($Array.prototype, symbolIterator, ArrayValues, |
+ DONT_ENUM | DONT_DELETE | READ_ONLY); |
arv (Not doing code reviews)
2014/06/17 15:39:37
http://people.mozilla.org/~jorendorff/es6-draft.ht
|
} |
ExtendArrayPrototype(); |