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