Basic JavaScript - Iterate with JavaScript While Loops

Tell us what’s happening:
Describe your issue in detail here.
I tried changing the i values but nothing seems to be working.

  **Your code so far**
// Setup
const myArray = [];
var i < 5;
while(i > 0) {
myArray.push(i);
  i++;
  }
// Only change code below this line

  **Your browser information:**

User Agent is: Mozilla/5.0 (Linux; Android 8.1.0; vivo 1908) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.104 Mobile Safari/537.36

Challenge: Basic JavaScript - Iterate with JavaScript While Loops

Link to the challenge:

Your loop is the infinite one.
It will run when i > 0

You are incrementing i

So this situation, i>0 will be forever

(post deleted by author)

Please do not post direct solutions to the challenge steps, it is not considered good practice here

Think about decrementing.

Thanks its now working

Thanks, it’s now working