如果分隔符为空格呢?该怎么表示
join(" ")
这样就可以了
myarr.join(" ");
object.join(" ");空格作为分割符
<script type="text/javascript">
var myarr1= new Array("86","010")
var myarr2= new Array("84697581");
var myarr3= myarr1.concat(myarr2);
document.write(myarr3,"<br/>");
document.write(myarr3.join(" "));
</script>