Tell us what’s happening:
Your code so far
// Example
var ourArray = [];
for (var i = 0; i < 5; i++) {
ourArray.push(i);
}
// Setup
var myArray = [];
// Only change code below this line.
for /** each time */ (var myVar = 0; myVar <= 5; i++) {
myArray.push(myVar);
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36
.
Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/iterate-with-javascript-for-loops/
Hi guys, each time I run this code my browser completely freezes (only on this challenge).
Any idea what’s up guys? Do you experience the same?
Alex / Ale8k