MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/b2o6f2/whats_your_favorite_most_useful_javascript/eiustlc/?context=3
r/javascript • u/Linux_is_awesome • Mar 18 '19
422 comments sorted by
View all comments
1
Array.prototype.join is a simple way to handle none, one or many with strings.
Array.prototype.join
const csv = values.join(“,”)
1
u/tobegiannis Mar 19 '19
Array.prototype.joinis a simple way to handle none, one or many with strings.const csv = values.join(“,”)