Index: src/harmony-array.js |
diff --git a/src/harmony-array.js b/src/harmony-array.js |
index 49176460ad2ee42fe38dcc4d6ef18d20e3f4e06e..885950b8ea0a324afd23b7a877499a32a8a191f3 100644 |
--- a/src/harmony-array.js |
+++ b/src/harmony-array.js |
@@ -14,7 +14,7 @@ |
var GetIterator; |
var GetMethod; |
var GlobalArray = global.Array; |
-var GlobalSymbol = global.Symbol; |
+var iteratorSymbol = utils.ImportNow("iterator_symbol"); |
var MathMax; |
var MathMin; |
var ObjectIsFrozen; |
@@ -221,7 +221,7 @@ function ArrayFrom(arrayLike, mapfn, receiver) { |
} |
} |
- var iterable = GetMethod(items, symbolIterator); |
+ var iterable = GetMethod(items, iteratorSymbol); |
var k; |
var result; |
var mappedValue; |