diff --git a/jsarray.c b/jsarray.c index 03963cd..e8efdb7 100644 --- a/jsarray.c +++ b/jsarray.c @@ -103,7 +103,7 @@ static void Ap_join(js_State *J) seplen = 1; } - if (len == 0) { + if (len <= 0) { js_pushliteral(J, ""); return; }