Skip to content

Commit f33dc7e

Browse files
authored
Merge pull request #1841 from SambaLim/master
Change switch Grouping of "case" example
2 parents d84673a + 0287fbd commit f33dc7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/02-first-steps/13-switch/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ Several variants of `case` which share the same code can be grouped.
117117
For example, if we want the same code to run for `case 3` and `case 5`:
118118
119119
```js run no-beautify
120-
let a = 2 + 2;
120+
let a = 3;
121121
122122
switch (a) {
123123
case 4:

0 commit comments

Comments
 (0)