I can add into Set exactly the same arrays, but Set mustn't add elements that already exist in this Set. Set must store only unique values. But Why am I able to add these?
let s = new Set();
s.add([1]);
s.add([1]);
s.add([1]);
console.log(s); //Set(3) {Array(1), Array(1), Array(1)}