mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-14 21:31:50 +00:00
Merge pull request #378 from rubyowo/concatArr-crash-fix
fix: crash when the arr argument for concatArr isn't specified
This commit is contained in:
commit
b47db15ad2
1 changed files with 1 additions and 0 deletions
|
@ -353,6 +353,7 @@ const baseValues = {
|
|||
return [...args].join("");
|
||||
},
|
||||
concatArr(arr, separator = "") {
|
||||
if (!Array.isArray(arr)) return "";
|
||||
return arr.join(separator);
|
||||
},
|
||||
eq(...args) {
|
||||
|
|
Loading…
Add table
Reference in a new issue