arr.some(item=>{})若有一项为true,则为true;arr.every(data=>{})若全部为true,则为true;
some()和every()的区别
最新推荐文章于 2022-12-08 02:01:59 发布
arr.some(item=>{})若有一项为true,则为true;arr.every(data=>{})若全部为true,则为true;