js 数组转带空格字符串

var a = [1,2,3,4]
a.toString().replace(new RegExp(replaceStr, 'gm'), ' ')

posted @ 2017-11-13 17:17  *的一手好诗  阅读(2086)  评论(0)    收藏  举报