js 跳出多层循环时间:2023-01-21 20:49:21 aaa://需要将循环命名 for(var i=0;i<10;i++){ for(var j=0;j<5;j++){ if(i==3 && j==4){ break aaa;//跳出循环aaa } } } alert(i);输出3