I do not understand how to make my code to prompt 5 4 3 2 1 0
what is wrong??? I tried my best to solve it I listened to the video I red the hints and I still do not understand how to make my code prompt 5 4 3 2 1 0.
**Your code so far**
var myArray = [];
var i = 0;
while(i < 5) {
myArray.push(i);
i++;
}
console.log(myArray);
**Your browser information:**
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36
Challenge: Iterate with JavaScript While Loops
Link to the challenge: