fix: crash when the arr argument for concatArr isn't specified
fix: formatting Co-authored-by: Almeida <almeidx@pm.me>
This commit is contained in:
parent
801cd2630b
commit
9386696f4b
1 changed files with 1 additions and 0 deletions
|
@ -346,6 +346,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