So after searching the interwebz for a few hours I have not found the solution I am looking for.
I have two arrays that contain game objects with a lot of informatio
Set (ES6/ES2015) will help you.
const info1 = {id: 1} const info2 = {id: 2} const info3 = {id: 3} const array1 = [info1, info2] const array2 = [info1, info3] const union = [...new Set([...array1, ...array2])] console.log(union)