constiterable=['t','a','e'];for(letvalueofiterable){console.log(value);//taif(value==='a'){break;//跳出循环}}
JSfor...of是如何跳出数组循环遍历的?相关文章