mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-01-03 06:03:23 -05:00
chore(i18n,learn): processed translations (#49559)
This commit is contained in:
@@ -14,12 +14,12 @@ dashedName: selecting-from-many-options-with-switch-statements
|
||||
这是 `switch` 语句的示例:
|
||||
|
||||
```js
|
||||
switch (lowercaseLetter) {
|
||||
case "a":
|
||||
console.log("A");
|
||||
switch (fruit) {
|
||||
case "apple":
|
||||
console.log("The fruit is an apple");
|
||||
break;
|
||||
case "b":
|
||||
console.log("B");
|
||||
case "orange":
|
||||
console.log("The fruit is an orange");
|
||||
break;
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user