Javascript – Combining two arrays and remove both duplicates if any appear
I have two arrays that I want to combine and then eliminate both values if duplicates appear. How can I achieve this? arr1 = [1,2,3,4,5,6,7] arr2 = [3,5,6,7] I want to be left with arr3 = [1,2,4] Thanks