const arr = [{ age: 3 }, { age: 4 }, { age: 5 }] arr.every(item => { return item.age > 2 }) // true
Copyright© 2013-2020
All Rights Reserved 京ICP备2023019179号-8