summaryrefslogtreecommitdiffstats
path: root/src/array.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/array.js')
-rw-r--r--src/array.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/array.js b/src/array.js
index b2ebece9..5ecf5e30 100644
--- a/src/array.js
+++ b/src/array.js
@@ -364,6 +364,10 @@ function ArrayJoin(separator) {
} else if (!IS_STRING(separator)) {
separator = ToString(separator);
}
+
+ var result = %_FastAsciiArrayJoin(this, separator);
+ if (typeof result != "undefined") return result;
+
var length = TO_UINT32(this.length);
return Join(this, length, separator, ConvertToString);
}