If you console.log(myArray) you will see that the output is this [ 0, 1, 2, 3, 4, 5 ]
You will need to reverse the logic of your current code to get the correct output of this [5,4,3,2,1,0]
Your count here should not start at zero var i = 0;
You will need to change that so it starts at the correct number.
Hint: look at the first part of the FCC instructions again
Add the numbers 5 through 0 (inclusive)
You will need to change this part
So that i is greater than or equal to 0
Lastly,
You will need to change this part
because it makes more sense to decrement than increment for this problem.
FCC instructions:
in descending order