摘要: 1:去重数组 let a = [1, 1, 2, 2, 3, 3, 4, 4, 5, 5] let b = [...new Set(a)] console.log(2222222222, b) // [1, 2, 3, 4, 5] 2:合并数组 let arr1 = ['a', 'b'] let a 阅读全文
posted @ 2019-03-08 14:23 cecelingmeng 阅读(98) 评论(0) 推荐(0) 编辑