--- id: 5a2efd662fb457916e1fe604 title: Iterate with JavaScript Do...While Loops challengeType: 1 videoUrl: '' localeTitle: '' --- ## Description undefined ## Instructions undefined ## Tests
```yml tests: - text: '' testString: 'assert(code.match(/do/g), "You should be using a do...while loop for this.");' - text: '' testString: 'assert.deepEqual(myArray, [10], "myArray should equal [10].");' - text: '' testString: 'assert.deepEqual(i, 11, "i should equal 11");' ```
## Challenge Seed
```js // Setup var myArray = []; var i = 10; // Only change code below this line. while (i < 5) { myArray.push(i); i++; } ```
### After Test
```js console.info('after the test'); ```
## Solution
```js // solution required ```