From 3159e93bafff84c3e1618211279605e70d9ab94d Mon Sep 17 00:00:00 2001 From: Brent Guffens Date: Thu, 18 Jan 2018 16:44:55 +0100 Subject: [PATCH] Typo --- 1-js/02-first-steps/12-while-for/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/02-first-steps/12-while-for/article.md b/1-js/02-first-steps/12-while-for/article.md index 95f01678..c1334cd7 100644 --- a/1-js/02-first-steps/12-while-for/article.md +++ b/1-js/02-first-steps/12-while-for/article.md @@ -35,7 +35,7 @@ A single execution of the loop body is called *an iteration*. The loop in the ex If there were no `i++` in the example above, the loop would repeat (in theory) forever. In practice, the browser provides ways to stop such loops, and for server-side JavaScript we can kill the process. -Any expression or a variable can be a loop condition, not just a comparison. They are evaluated and converted to boolean by `while`. +Any expression or a variable can be a loop condition, not just a comparison. They are evaluated and converted to a boolean by `while`. For instance, the shorter way to write `while (i != 0)` could be `while (i)`: