Set的成員惟一數組
const set = new Set([1,2,4,6,4,1,2,4]) set.add("ff")
數組去重code
const arr = [2,5,5,5,1,12,31,1,2] [...new Set(arr)] Array.from(arr)
只能接收引用類型引用