可以使用break的有如下几种: for (let i=0; i<a.length; i++){}for(let i in a){}for(let i of a){}while (){}do{}while(i>0) 简单明了,记得点赞,谢谢!