We want to make this open-source project available for people all around the world.
Help to translate the content of this tutorial to your language!
Rewrite the code changing the for loop to while without altering its behavior (the output should stay same).
for
while
for (let i = 0; i < 3; i++) { alert( `number ${i}!` ); }
let i = 0; while (i < 3) { alert( `number ${i}!` ); i++; }
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル