Count Backwards With a For Loop => JS

Tell us what’s happening:
Describe your issue in detail here.
I have done this task this way. Will it be okay?

  **Your code so far**

// Setup
const myArray = [];

// Only change code below this line
for (let i = 9; i >= 1; i-=2) {
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36

Challenge: Count Backwards With a For Loop

Link to the challenge:

Hi there,
I’m not quite sure what you mean. The solution you provided passes the tests . Is there something that you are still not understanding?

1 Like

No , it does the work. Still I was kinda unsure.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.