while循环 var sum2 = 0; var j = 1; while(j<=100){ if (j%10==3){ j++; continue; } sum2 = sum2 + j; j++; } console.log(sum2); for循环 var sum1 = 0; for (var j = 1;j<=100;j++){ if (j%10==3){ continue; } sum1 = sum1 +j; } console.log(sum1); 疑问...
while循环var sum2 = 0; var j = 1; while(j<=100){ if (j%10==3){ j++; continue; } sum2 = sum2 + j; j++; } console.log(sum2);for循环var sum1 = 0; for (var j = 1;j<=100;j++){ if (j%10==3){ continue; } sum1 = sum1 +j; } console.log(sum1);疑问1:两...