Index: src/array-iterator.js |
diff --git a/src/array-iterator.js b/src/array-iterator.js |
index 7cf0db4c0be60f5b4aae03edb3fe6898ed54c283..95635cd4bf7ed7ee51b7366540cd8dde2d7e36e2 100644 |
--- a/src/array-iterator.js |
+++ b/src/array-iterator.js |
@@ -73,8 +73,8 @@ |
var iterator = ToObject(this); |
if (!HAS_DEFINED_PRIVATE(iterator, arrayIteratorNextIndexSymbol)) { |
- throw MakeTypeError(kIncompatibleMethodReceiver, |
- 'Array Iterator.prototype.next', this); |
+ throw MakeTypeError('incompatible_method_receiver', |
+ ['Array Iterator.prototype.next']); |
} |
var array = GET_PRIVATE(iterator, arrayIteratorObjectSymbol); |