SOURCE

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

                    
>
console