js 连接数组里的所有元素,返回一个字符串

// js 连接数组里的所有元素

var str = arr.join();  // 连接数组里的所有元素,返回一个字符串

猜你喜欢

转载自blog.csdn.net/beguile/article/details/86622494
今日推荐