const s1 = new Set(); let apple = {a:1} let banana = {b:2} s1.add(apple).add(banana) console.log(s1)