I have a scenario in which I have to store a tuple (x,y,z) in a set. As javascript doesn't have a tuple, I decided to store it in the set like [1,2,0], but it allows me to add this same
element again to the set and show the size as 2, whereas ideally, it should not add it. How can I achieve default Set behavior or some alternate way to represent the above information