Index: src/js/array.js |
diff --git a/src/js/array.js b/src/js/array.js |
index 3d0923b53215d7ba716e71de3a89fc244b9f16fc..d679eb9a96090d53e95e1ea87a77c1a218ed2ba4 100644 |
--- a/src/js/array.js |
+++ b/src/js/array.js |
@@ -1774,7 +1774,7 @@ function ArrayFrom(arrayLike, mapfn, receiver) { |
while (true) { |
var next = iterator.next(); |
- if (!IS_SPEC_OBJECT(next)) { |
+ if (!IS_RECEIVER(next)) { |
throw MakeTypeError(kIteratorResultNotAnObject, next); |
} |