js如果两个数组中有相同对象 给对象添加属性
[{id:'11'},{id:'22'},{id:'33'}]  [{id:'11'},{id:'33'}]
想要下面结果 
[
{id:'11',follwed:true},
{id:'22',follwed:false},
{id:'33',follwed:true}
]
```
    let arr1 = [{id:'11'},{id:'22'},{id:'33'}];
    let arr2 = [{id:'11'},{id:'33'}];
    let arr = [...arr1, ...arr2];
    let obj = {};
    arr.forEach(item=>{
        if(obj[item.id]){
            obj[item.id].follwed = true
        }else{
            obj[item.id] = item
            obj[item.id].follwed = false
        }
    });
    let result = Object.values(obj);
    console.log(result)
```