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