Index: src/string.js |
diff --git a/src/string.js b/src/string.js |
index 6286be3e49d42e8e4fcad7c8b9286e3419d35b40..0f29cd1dc147ca7c8fc6b24c4d965af32754a734 100644 |
--- a/src/string.js |
+++ b/src/string.js |
@@ -72,11 +72,10 @@ function StringCharCodeAtJS(pos) { |
// ECMA-262, section 15.5.4.6 |
function StringConcat(other /* and more */) { // length == 1 |
CHECK_OBJECT_COERCIBLE(this, "String.prototype.concat"); |
- |
var len = %_ArgumentsLength(); |
var this_as_string = TO_STRING_INLINE(this); |
if (len === 1) { |
- return this_as_string + other; |
+ return this_as_string + TO_STRING_INLINE(other); |
} |
var parts = new InternalArray(len + 1); |
parts[0] = this_as_string; |