From 9a429354d882d56a5b7d03985e5b84bac499ff6e Mon Sep 17 00:00:00 2001 From: Felipe Lerma Date: Tue, 26 Sep 2017 22:55:47 -0700 Subject: [PATCH] update article.md for 07-operators. adding spaces: changing '2+2' to '2 + 2' --- 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 368e8a83..ecf90c2e 100644 --- a/1-js/02-first-steps/07-operators/article.md +++ b/1-js/02-first-steps/07-operators/article.md @@ -173,7 +173,7 @@ alert( b ); // 4 alert( c ); // 4 ``` -Chained assignments evaluate from right to left. First the rightmost expression `2+2` is evaluated then assigned to the variables on the left: `c`, `b` and `a`. At the end, all variables share a single value. +Chained assignments evaluate from right to left. First the rightmost expression `2 + 2` is evaluated then assigned to the variables on the left: `c`, `b` and `a`. At the end, all variables share a single value. ````smart header="The assignment operator `\"=\"` returns a value" An operator always returns a value. That's obvious for most of them like an addition `+` or a multiplication `*`. But the assignment operator follows that rule too.