js quit loop Posted on 2021-10-14 break1234for(let i =0;i< 10;i++){ if(i>5)break console.log(i)} find 或者 findIndex