This question already has an answer here:
- array join() method without a separator 1 answer
var alphabet = ['a', 'b', 'c'] alphabet.join(); // returns a,b,c
How do i make it so it doesn't return the commas?
Just specify an empty string for the join: