Change switch Grouping of "case" example

Change switch Grouping of "case" example
This commit is contained in:
Sambalim 2020-04-03 08:40:17 +09:00
parent d84673a6ec
commit 0287fbd362

View file

@ -117,7 +117,7 @@ Several variants of `case` which share the same code can be grouped.
For example, if we want the same code to run for `case 3` and `case 5`: For example, if we want the same code to run for `case 3` and `case 5`:
```js run no-beautify ```js run no-beautify
let a = 2 + 2; let a = 3;
switch (a) { switch (a) {
case 4: case 4: