[ {name:'zhangsan',age:23,}, {name:'zhangsan',age:24,}, ].find(item => item.name == 'zhangsan') //结果:{name: "zhangsan", age: 23}