Mientras que el bucle Countdown JavaScript
var countdown = 10;
while (countdown > 0){
countdown--;
console.log(countdown);
}
console.log("Blastoff!");
Run code snippetHide results
Clean Caterpillar