SOURCE

var arr = [1,2,2,3,4,5,5,6,3,4,5];

var arr2 = [...new Set(arr)]

console.log(arr);
console.log(arr2);
console 命令行工具 X clear

                    
>
console