Index: src/string-iterator.js |
diff --git a/src/string-iterator.js b/src/string-iterator.js |
index 8d72b81e8be159371546362a159eaf87c4c50f1e..dea81e572540a5615a54d527949bbe3a4ead317e 100644 |
--- a/src/string-iterator.js |
+++ b/src/string-iterator.js |
@@ -48,7 +48,7 @@ |
var s = GET_PRIVATE(iterator, stringIteratorIteratedStringSymbol); |
if (IS_UNDEFINED(s)) { |
- return CreateIteratorResultObject(UNDEFINED, true); |
+ return $iteratorCreateResultObject(UNDEFINED, true); |
} |
var position = GET_PRIVATE(iterator, stringIteratorNextIndexSymbol); |
@@ -57,7 +57,7 @@ |
if (position >= length) { |
SET_PRIVATE(iterator, stringIteratorIteratedStringSymbol, |
UNDEFINED); |
- return CreateIteratorResultObject(UNDEFINED, true); |
+ return $iteratorCreateResultObject(UNDEFINED, true); |
} |
var first = %_StringCharCodeAt(s, position); |
@@ -74,7 +74,7 @@ |
SET_PRIVATE(iterator, stringIteratorNextIndexSymbol, position); |
- return CreateIteratorResultObject(resultString, false); |
+ return $iteratorCreateResultObject(resultString, false); |
} |