SOURCE

var arr = [2,4,2,5,7,5];
console.log(arr);
var aSet = new Set(arr);
console.log(aSet) // [2,4,5,7];
console 命令行工具 X clear

                    
>
console