I have the following...
array [
obj1 = {key1: a,
key2: [a, b, c]
},
obj2 = {key2: [c, d]}
];
And want the following outcome...
array[
obj1 = {key1: a,
key2: [a, b, c, d]
}
]
How can I merge obj1 and obj2 so that key2 contains no duplicates?
Thanks! I am also already using jQuery