数组转换为字符串

1. arr.toString();字符之间为逗号隔开;

2.arr.join('-');字符之间可以选定符号隔开,arr.join('&')默认逗号;

猜你喜欢

转载自www.cnblogs.com/xjt31/p/12938884.html