const flag = [{age:1},{age:2}].some(v=>JSON.stringify(v)===JSON.stringify({age:2})) console.log(flag)
Copyright© 2013-2020
All Rights Reserved 京ICP备2023019179号-8