merlin

精益求精

孤鸿

导航

【js 数字和字符串】方法总结

join和split

1 var x;
2 var a=[];
3 a[0]="html";
4 a[1]='css';
5 a[2]='php';
6 alert(typeof a.join('.'));//html.css.php
View Code

 

 

posted on 2013-06-04 10:23  天地一连线_孤鸿挂飘渺  阅读(189)  评论(0编辑  收藏  举报