Add concatArr template fn
This commit is contained in:
parent
2179a78c9f
commit
1aa04b1cf6
1 changed files with 3 additions and 0 deletions
|
@ -275,6 +275,9 @@ const baseValues = {
|
|||
concat(...args) {
|
||||
return [...args].join("");
|
||||
},
|
||||
concatArr(arr, separator = "") {
|
||||
return arr.join(separator);
|
||||
},
|
||||
eq(...args) {
|
||||
if (args.length < 2) return true;
|
||||
for (let i = 1; i < args.length; i++) {
|
||||
|
|
Loading…
Add table
Reference in a new issue