diff options
author | Benoit Giannangeli <giann008@gmail.com> | 2017-05-08 11:03:21 +0200 |
---|---|---|
committer | Benoit Giannangeli <giann008@gmail.com> | 2017-05-08 11:03:21 +0200 |
commit | 57a5514f724ee5d31ee6c008954d207da0a6f245 (patch) | |
tree | 109f09b369dbc45062e1be9cc5b3fdcc3c782055 /src/ltablib.js | |
parent | e535c784055065ba8c8b6313b2804562c35dd261 (diff) | |
download | fengari-57a5514f724ee5d31ee6c008954d207da0a6f245.tar.gz fengari-57a5514f724ee5d31ee6c008954d207da0a6f245.tar.bz2 fengari-57a5514f724ee5d31ee6c008954d207da0a6f245.zip |
Fixed bad default separator in table.concat
Diffstat (limited to 'src/ltablib.js')
-rw-r--r-- | src/ltablib.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ltablib.js b/src/ltablib.js index 788e236..aaadfd7 100644 --- a/src/ltablib.js +++ b/src/ltablib.js @@ -130,7 +130,7 @@ const tmove = function(L) { const tconcat = function(L) { let last = aux_getn(L, 1, TAB_R); - let sep = lauxlib.luaL_optlstring(L, 2, ""); + let sep = lauxlib.luaL_optlstring(L, 2, []); let i = lauxlib.luaL_optinteger(L, 3, 1); last = lauxlib.luaL_optinteger(L, 4, last); |