mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-03-03 23:01:25 -05:00
chore(i18n,learn): processed translations (#46161)
This commit is contained in:
@@ -13,7 +13,7 @@ Se l'istruzione `break` viene omessa da un'istruzione `switch` e in particolare
|
||||
|
||||
```js
|
||||
let result = "";
|
||||
switch(val) {
|
||||
switch (val) {
|
||||
case 1:
|
||||
case 2:
|
||||
case 3:
|
||||
@@ -127,7 +127,7 @@ sequentialSizes(1);
|
||||
function sequentialSizes(val) {
|
||||
let answer = "";
|
||||
|
||||
switch(val) {
|
||||
switch (val) {
|
||||
case 1:
|
||||
case 2:
|
||||
case 3:
|
||||
|
||||
@@ -24,7 +24,7 @@ if (val === 1) {
|
||||
può essere sostituito con:
|
||||
|
||||
```js
|
||||
switch(val) {
|
||||
switch (val) {
|
||||
case 1:
|
||||
answer = "a";
|
||||
break;
|
||||
@@ -136,7 +136,7 @@ chainToSwitch(7);
|
||||
function chainToSwitch(val) {
|
||||
let answer = "";
|
||||
|
||||
switch(val) {
|
||||
switch (val) {
|
||||
case "bob":
|
||||
answer = "Marley";
|
||||
break;
|
||||
|
||||
@@ -14,7 +14,7 @@ Se hai molte opzioni tra cui scegliere, usa un'istruzione <dfn>switch</dfn>. Un'
|
||||
Ecco un esempio di un'istruzione `switch`:
|
||||
|
||||
```js
|
||||
switch(lowercaseLetter) {
|
||||
switch (lowercaseLetter) {
|
||||
case "a":
|
||||
console.log("A");
|
||||
break;
|
||||
@@ -96,7 +96,7 @@ caseInSwitch(1);
|
||||
function caseInSwitch(val) {
|
||||
let answer = "";
|
||||
|
||||
switch(val) {
|
||||
switch (val) {
|
||||
case 1:
|
||||
answer = "alpha";
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user