Can't pass cause the code want the number in reverse

Tell us what’s happening:
Mycode is right, it must say [ 0,1,2,3,4,5], but it show reverse to complete/pass it.
Can anyone show way to reverse the number, cause I use the example at FreeCampCode news page. It didn’t work.
Your code so far


// Setup
var myArray = [];

// Only change code below this line

var i = 0;
while(i < 5) {
myArray.push(i);
i++
}

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36.

Challenge: Iterate with JavaScript While Loops

Link to the challenge:

the example show how to put the numbers in the array in that order, you need to change a couple of things in the code to make so that the numbers start from 5

var i = 6;

while(i > - 1) {

myArray.push(i);

i–;

}

I use this code and it work. It come from [count backwards with a for loop]. Do count backward with loop first, then go back to
Iterate with JavaScript While Loops if you can’t understand how to do it.