From d6dd01eca3542d89845e96dc43d3c990126c3f1f Mon Sep 17 00:00:00 2001 From: flinchtheone Date: Thu, 10 Aug 2017 19:01:37 +0100 Subject: [PATCH] Changed 'i' variable to 'counter' 'i' is not in discussion at this point, 'counter' is. --- 1-js/02-first-steps/07-operators/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/02-first-steps/07-operators/article.md b/1-js/02-first-steps/07-operators/article.md index b817f5ba..61f119b3 100644 --- a/1-js/02-first-steps/07-operators/article.md +++ b/1-js/02-first-steps/07-operators/article.md @@ -266,7 +266,7 @@ Operators `++` and `--` can be placed both after and before the variable. - When the operator goes after the variable, it is called a "postfix form": `counter++`. - The "prefix form" is when the operator stands before the variable: `++counter`. -Both of these records do the same: increase `i` by `1`. +Both of these records do the same: increase `counter` by `1`. Is there any difference? Yes, but we can only see it if we use the returned value of `++/--`.