Users:[
{
name: "tom",
age:26,
email:"1@qq.com",
address:""
},
{
name: "tom",
age:23,
email:"2@qq.com",
address:""
},
{
name: "tom",
age:24,
email:"3@qq.com",
address:""
},
{
name: "mike",
age:25,
email:"4@qq.com",
address:""
}
]
let searchObj = {
name: "tom",
address:"",
age:24
}
I want to output a new array. How to filter the eligible objects whose name is tom address and age > 24?