What is the fastest or most elegant way to compute a set difference using Javascript arrays?
Let A and B be two sets. I’m looking for really fast or elegant ways to compute the set difference (A – B or A B, depending on your preference) between them. The two sets are stored and manipulated …