FAQ Database Discussion Community


Trying to solve symmetric difference using Javascript

javascript,arrays,symmetric-difference
I am trying to figure out a solution for symmetric difference using javascript that accomplishes the following objectives: accepts an unspecified number of arrays as arguments preserves the original order of the numbers in the arrays does not remove duplicates of numbers in single arrays removes duplicates occurring across arrays...