var arr = [
{ type: 1, age: 12, name: 'xiaohua'
},
{ type: 1, age: 12, name: 'xiaoming'
},
{ type: 1, age: 12, name: 'xiaohong'
},
{ type: 2, age: 14, name: 'xiaoxiao'
},
]在一个数组内,如何判断type和age 相等的项
慕田峪4524236
米琪卡哇伊
繁星点点滴滴
随时随地看视频慕课网APP