Index: src/js/array.js |
diff --git a/src/js/array.js b/src/js/array.js |
index 294e474be6ea9dfd4ba688e7a98f5e59a2f18ee4..4e3c8a1cfb24c5b95d3219f647ac332a5f3321c9 100644 |
--- a/src/js/array.js |
+++ b/src/js/array.js |
@@ -1761,7 +1761,7 @@ function ArrayFrom(arrayLike, mapfn, receiver) { |
while (true) { |
var next = iterator.next(); |
- if (!IS_OBJECT(next)) { |
+ if (!IS_SPEC_OBJECT(next)) { |
throw MakeTypeError(kIteratorResultNotAnObject, next); |
} |