const str = ['one','-','two'].join``;
console.log(str);
// outputs "one-two"
With tagged templates you can pass a template string to a function without parens.
See more stuff like this over @ Snippet Zone
const str = ['one','-','two'].join``;
console.log(str);
// outputs "one-two"
With tagged templates you can pass a template string to a function without parens.
See more stuff like this over @ Snippet Zone
For further actions, you may consider blocking this person and/or reporting abuse
shrey vijayvargiya -
Pavol -
sameer -
Himanshu Aggarwal -
Latest comments (0)