concat 连接成的字符串
concat连接成的字符串中间有个逗号“,"怎么解决??
var myarr1= new Array("010")
var myarr2= new Array("-","84697581");
var myarr3=myarr1.concat(myarr2);
document.write(myarr3);
输出是 010,-,84697581
但我想要的是 010-84697581
求解
concat连接成的字符串中间有个逗号“,"怎么解决??
var myarr1= new Array("010")
var myarr2= new Array("-","84697581");
var myarr3=myarr1.concat(myarr2);
document.write(myarr3);
输出是 010,-,84697581
但我想要的是 010-84697581
求解
2018-04-26
举报