const mySet = new Set(); mySet.add(1); // [1] mySet.add(5); // [1, 5] mySet.add(5); // [1, 5],重複的元素不會被加進去,依然是
確定! 回上一頁