fix(learn): Fixed typos in count-backwards-with-a-for-loop.md (#40478)

* Spelling change in count-backwards-with-a-for-loop

* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/count-backwards-with-a-for-loop.md

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
This commit is contained in:
matias-miller
2021-01-21 10:44:10 -06:00
committed by GitHub
parent a5dceb3e7e
commit 8a9f3319c6

View File

@ -11,7 +11,7 @@ dashedName: count-backwards-with-a-for-loop
A for loop can also count backwards, so long as we can define the right conditions.
In order to count backwards by twos, we'll need to change our `initialization`, `condition`, and `final-expression`.
In order to decrement by two each iteration, we'll need to change our `initialization`, `condition`, and `final-expression`.
We'll start at `i = 10` and loop while `i > 0`. We'll decrement `i` by 2 each loop with `i -= 2`.