The join() method accepts a optional argument separator which is a string that separates each pair of adjacent elements of the array in the result string. The ... ... <看更多>
Join a string with an array in Javascript · that is what happens when you call .toString on an array .you have to either do JSON. · var str="xyz"; ... ... <看更多>