更短的数组去重写法 March 1, 2018 • 记录 • 1 分钟阅读 [...new Set([2,"12",2,12,1,2,1,6,12,13,6])] // [2, "12", 12, 1, 6, 13]