Feedback
Choose an option below
[1, 3, 4]
[1, 2, 3, 4]
[1, 4]
[1, 2, 3]
Hint
1const set = new Set([1, 2, 3, 2, 1]);2set.add(4);3set.delete(2);4console.log([...set]);