While loop decrements in JavaScript until it reaches 0 and prints "Blastoff"

It is finally correct:

var countdown = 10;
while (countdown > 0){
    countdown--;
    console.log(countdown);
}
console.log("Blastoff");

You are almost there but have a few small mistakes to fix. First, remove this open bracket after var countdown = 10;{ (I get it that it might be added by mistake when writing the question here).

Second, remove this part || 0=== "Blastoff!" from the while conditions. This will always be false.

Third, and probably most important, move the decrement part countdown = countdown - 1; before the console.log.

Here's an example how your code will look after the changes:

var countdown = 10;
while (countdown > 0){
    countdown--;
    console.log(countdown);
}
console.log("Blastoff!");