摘要: 限ES6 最简洁 let arr = [0, 1, 1, '1', 2] let newArr = [...new Set(arr)] console.log(newArr) 阅读全文
posted @ 2021-04-02 22:07 徐同保 阅读(14) 评论(0) 推荐(0) 编辑