#how to combine this into one array and remove duplicates?
4 messages · Page 1 of 1 (latest)
#❓javascript message
I'm not sure if there are inbuilt methods to do this. So, I would create a new array. Go through the arr3 (you might need a double for loop for that). While adding each element check if it already exists in the new array. If yes, go to the next element. If not, add the current element to the new array.
did you click the link above? 😉