diff options
Diffstat (limited to 'js/src/Ice/StringUtil.js')
-rw-r--r-- | js/src/Ice/StringUtil.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/src/Ice/StringUtil.js b/js/src/Ice/StringUtil.js index 0f125dc3e02..875a8be63ca 100644 --- a/js/src/Ice/StringUtil.js +++ b/js/src/Ice/StringUtil.js @@ -419,7 +419,7 @@ function checkChar(s, pos) msg += " has invalid ordinal value" + c; throw new Error(msg); } - return s.charAt(pos) + return s.charAt(pos); } // // Decode the character or escape sequence starting at start and appends it to result; @@ -483,13 +483,13 @@ function decodeChar(s, start, end, special, result) case 'r': { ++start; - result.push("\r") + result.push("\r"); break; } case 't': { ++start; - result.push("\t") + result.push("\t"); break; } case 'v': |