es6方法过滤掉两个数组中对象id值相等的项
```
const arr1=[{id:1,name:'网'},{id:2,name:'二位'}]
const arr2=[{id:1,name:'老二'},{id:3,name:'老三'}]
```
es6方法过滤掉arr2中id和arr1 id相同的项
我自己来分享个
```
 let arr1=[{id:1,name:'网'},{id:2,name:'二位'}]
 let arr2=[{id:1,name:'问问'},{id:3,name:'多少'},{id:44,name:'多少'},{id:45,name:'多少'},]

  let add=arr2.filter(item=>!arr1.some(ele=>ele.id===item.id))
  console.log(add)
```