Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0287fbd

Browse files
committed
Change switch Grouping of "case" example
Change switch Grouping of "case" example
1 parent d84673a commit 0287fbd

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)

AltStyle によって変換されたページ (->オリジナル) /