Tell us what’s happening:
Describe your issue in detail here.
I have tried console.log inside of loops and outside of loops. Still couldn’t come out 9,7,5,3,1. It only comes out without the 1
**Your code so far**
// Setup
//initialization var i = 9
//condition i means 9 > 1
//final expression 9 subtract 2 on each loops
const myArray = [];
for (var i = 9; i > 1; i -= 2) {
myArray.push(i);
}
console.log(i)
// Only change code below this line
**Your browser information:**
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36
Challenge: Basic JavaScript - Count Backwards With a For Loop
Link to the challenge: