Javascript – Set.Has() does not work with arrays because they are mutable. What's the alternative?
I have a list of (lots of) coordinates. coordinateList = [[1,2], [2,1], [3,5]]; These coordinates are unique and since I have a lot of them I want to be able to quickly check if a new coordinate is already in…