js 跳出循环 for(var i=0;i<10;i++){if(i==1){break;}}当i=1的时候跳出循环foreach不可以使用break Other 2023-12-25 149 点赞 2 评论 225 浏览