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
Piyush Chauhan -
Balaji Sasikumar -
Heru Hartanto -
GreenestGoat -
Top comments (0)