From a89b92b7010e8fc95ab0f30b9ad1b5ae84b460b6 Mon Sep 17 00:00:00 2001 From: Richard Anderssen Date: Wed, 10 Jan 2018 15:36:48 +0100 Subject: [PATCH] Typo: strig => string --- .../12-while-for/6-repeat-until-correct/solution.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/02-first-steps/12-while-for/6-repeat-until-correct/solution.md b/1-js/02-first-steps/12-while-for/6-repeat-until-correct/solution.md index 31ca18d9..2e04a78c 100644 --- a/1-js/02-first-steps/12-while-for/6-repeat-until-correct/solution.md +++ b/1-js/02-first-steps/12-while-for/6-repeat-until-correct/solution.md @@ -10,6 +10,6 @@ do { The loop `do..while` repeats while both checks are truthy: 1. The check for `num <= 100` -- that is, the entered value is still not greater than `100`. -2. The check `&& num` is false when `num` is `null` or a empty strig. Then the `while` loop stops too. +2. The check `&& num` is false when `num` is `null` or a empty string. Then the `while` loop stops too. P.S. If `num` is `null` then `num <= 100` is `true`, so without the 2nd check the loop wouldn't stop if the user clicks CANCEL. Both checks are required.