Skip to content

Commit 66145f5

Browse files
authored
Merge pull request #215 from Thespawnexe/patch-3
update article.md for 07-operators.
2 parents 6200749 + 9a42935 commit 66145f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/02-first-steps/07-operators/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ alert( b ); // 4
173173
alert( c ); // 4
174174
```
175175
176-
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.
176+
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.
177177
178178
````smart header="The assignment operator `\"=\"` returns a value"
179179
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.

0 commit comments

Comments
 (0)