数组快速去重

const list = [1,2,2,3,3,3,4,5];
const new_list = [...new Set(list)];
console.log(new_list);  // [1,2,3,4,5]

流年朝朝
128 声望12 粉丝

但行好事,莫问前程