for (var i = 0; i < 5; i++) {
while (i % 3 == 0) {
i++;
console.log(i);
break;
}
console.log(i);
}
for (var i = 0; i < 5; i++) {
while (i || i++) {
console.log(i);
continue;
console.log(i * i);
}
console.log(i);
}
标签:console,log,++,while,JS,嵌套循环
From: https://www.cnblogs.com/Listener-wy/p/17565012.html