js数组转字符串

var a, b;

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

b = a.join("-");

原文地址:https://www.cnblogs.com/zjj1990/p/7580216.html