// Setup
var myArray = [];
// Only change code below this line.
var i = 0;
while (i <= 4) {
myArray.push(i);
i++;
}
i need some help i do all combinations try many code even try the solution given but its not working and sometimes it show aw snap we could't load webpage
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36.
@camperextraordinaire What is happening is when I opened up the link and start reading the information about this challenge, I get the sudden “aw snap” message popping up. I couldn’t even finish reading a paragraph.
But when I tried it again now, it was all good until I have copied and pasted @gautamdhingra’s code in and changed the ++ sign to --, then it happens (hope that made sense).
That would have explained it. I didn’t realise that when even writing the code in the editor, it is actually running the code (I thought to run it is to press ‘Run the Test’ button. My bad!
I see, that does make more sense now (especially I am not currently learning through FCC at this moment). Thank you for explaining this one as I do plan to use the curriculum to learn in near future.
I think it is safe to say when I get to Javascript stage, you will probably seeing more of my posts wailing for help haha.