Index: src/js/array-iterator.js |
diff --git a/src/js/array-iterator.js b/src/js/array-iterator.js |
index 16d3b772086f3f6926b5fc31e2dbc89f8af1cbac..f0754ad093314afec4bf69e1abd719a75fff906c 100644 |
--- a/src/js/array-iterator.js |
+++ b/src/js/array-iterator.js |
@@ -20,6 +20,7 @@ var arrayIteratorObjectSymbol = |
var GlobalArray = global.Array; |
var IteratorPrototype = utils.ImportNow("IteratorPrototype"); |
var iteratorSymbol = utils.ImportNow("iterator_symbol"); |
+var MakeTypeError; |
var toStringTagSymbol = utils.ImportNow("to_string_tag_symbol"); |
macro TYPED_ARRAYS(FUNCTION) |
@@ -40,6 +41,10 @@ endmacro |
TYPED_ARRAYS(COPY_FROM_GLOBAL) |
+utils.Import(function(from) { |
+ MakeTypeError = from.MakeTypeError; |
+}) |
+ |
// ----------------------------------------------------------------------- |
function ArrayIterator() {} |