fix(curriculum): iterate with javascript do...while loops (#35214)

This commit is contained in:
Fordco
2019-02-21 17:25:54 -05:00
committed by Manish Giri
parent e202b917d6
commit 63c5423e4a

View File

@ -23,7 +23,7 @@ Let's try getting a <code>do...while</code> loop to work by pushing values to an
## Instructions
<section id='instructions'>
Change the <code>while</code> loop in the code to a <code>do...while</code> loop so that the loop will push the number 10 to <code>myArray</code>, and <code>i</code> will be equal to <code>11</code> when your code finishes running.
Change the <code>while</code> loop in the code to a <code>do...while</code> loop so that the loop will only push the number 10 to <code>myArray</code>, and <code>i</code> will be equal to <code>11</code> when your code finishes running.
</section>
## Tests