--- id: cf1111c1c11feddfaeb5bdef title: Iterate with JavaScript For Loops challengeType: 1 videoUrl: '' localeTitle: '' --- ## Description undefined ## Instructions undefined ## Tests
```yml tests: - text: '' testString: 'assert(code.match(/for\s*\(/g).length > 1, "You should be using a for loop for this.");' - text: '' testString: 'assert.deepEqual(myArray, [1,2,3,4,5], "myArray should equal [1,2,3,4,5].");' ```
## Challenge Seed
```js // Example var ourArray = []; for (var i = 0; i < 5; i++) { ourArray.push(i); } // Setup var myArray = []; // Only change code below this line. ```
### After Test
```js console.info('after the test'); ```
## Solution
```js // solution required ```