var arr =newArray(3);
arr[0] ='a'arr[1] ='b'
arr[2] ='c'
document.write(arr.join());//a,b,c
本文标题:javascript join用法
本文链接:https://www.haomeiwen.com/subject/nsusyqtx.html
网友评论