ES6 way to remove duplicated objects between two arrays

        newArr = newArr.filter(
          i => oldArr.findIndex(
            j => j.id === i.id
          ) < 0
        )

e.g.
let oldArr = [ { id: 1 }, { id: 2 }, { id: 3 } ]
let newArr = [ { id: 3 }, { id: 4 }, { id: 5 } ]
the output should be: [ { id: 4 }, { id: 5 } ]

>> Codepen