#bird watcher task 3
15 messages ยท Page 1 of 1 (latest)
it checks if the index is odd and increments if it is
so why isnt this solution working
- What track?
- What do the tests say?
javascript and this
The description isn't the most clear, but check the example in the learning concept and notice on which indexes the example array is changing.
Please use codeblocks and not images ๐
That output ain't super helpful ๐ฆ But it tries to show that every element is off by one.
If you read the instructions carefully, not only the comment above the function, you should find out what's different.
Expected: [4, 0, 6, 1, ...]
Got: [3, 1, 5, 2, ...]
so would it just be changing the i % 2 == 1 to i % 2 ==0
Try it out and see if that's enough
Ask the computer, not the human ๐
oh my it works, sorry for wasting yalls time
๐