const arr1 = [2,4,6]; arr1.every((val,index, arr)=>{ console.log(val,index);// 条件判断,false中断 return true; });