摘要: 1.用得最多的for循环; break;可以中断循环 let str = ''; for(let i =0; i < 3; i++){ str = str + i } console.log(str) //012 2.do...while语句创建一个执行指定语句的循环,直到condition值为fa 阅读全文
posted @ 2021-07-19 15:44 夏季的雨 阅读(176) 评论(0) 推荐(0)