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
}
我想输出一个新的数组,符合name为tom address为河北 并且age>24的符合条件的对象,应该怎么筛选?
慕桂英546537
相关分类