Index: src/string-iterator.js |
diff --git a/src/string-iterator.js b/src/string-iterator.js |
index cb3a90abc5f41c43318e32aa435a551343ee480b..dea81e572540a5615a54d527949bbe3a4ead317e 100644 |
--- a/src/string-iterator.js |
+++ b/src/string-iterator.js |
@@ -42,8 +42,8 @@ |
var iterator = ToObject(this); |
if (!HAS_DEFINED_PRIVATE(iterator, stringIteratorNextIndexSymbol)) { |
- throw MakeTypeError(kIncompatibleMethodReceiver, |
- 'String Iterator.prototype.next'); |
+ throw MakeTypeError('incompatible_method_receiver', |
+ ['String Iterator.prototype.next']); |
} |
var s = GET_PRIVATE(iterator, stringIteratorIteratedStringSymbol); |