js 数组转带空格字符串

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

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