let x = arr.filter((a)=>{if(a.title=='B'){return a}});. 4. console.log(x)//[{id:3,title:'B',status:true}]. Filter Array of Objects with Array of Objects.
確定! 回上一頁