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
Navneet Kumar Singh -
Giuliano1993 -
Mitchell Mutandah -
Slobi -
Top comments (0)