replace side-effect with side effect
This commit is contained in:
parent
291b5c05b9
commit
4aa9f818e8
10 changed files with 10 additions and 10 deletions
|
@ -139,7 +139,7 @@ switch (a) {
|
|||
|
||||
Now both `3` and `5` show the same message.
|
||||
|
||||
The ability to "group" cases is a side-effect of how `switch/case` works without `break`. Here the execution of `case 3` starts from the line `(*)` and goes through `case 5`, because there's no `break`.
|
||||
The ability to "group" cases is a side effect of how `switch/case` works without `break`. Here the execution of `case 3` starts from the line `(*)` and goes through `case 5`, because there's no `break`.
|
||||
|
||||
## Type matters
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue