分类
默认

split 和 join 的区别

console.log('1-2-3'.split('-')) // ["1", "2", "3"]
console.log(['1','2','3'].join('-')) // 1-2-3