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
Sidharth Mohanty -
Delia -
Debajyati Dey -
Michael Gangolf -
Top comments (0)