js数组转字符串

var a, b;

a = new Array(0,1,2,3,4);

b = a.join("-");

posted @ 2017-09-23 09:30  不一样的开始  阅读(164)  评论(0编辑  收藏  举报