chore(i18n,learn): processed translations (#49545)

This commit is contained in:
camperbot
2023-02-28 21:38:50 +05:30
committed by GitHub
parent 6bd8d2ba63
commit 43295afc0a
335 changed files with 1536 additions and 1464 deletions

View File

@@ -11,13 +11,13 @@ dashedName: assignment-with-a-returned-value
Se ricordi la nostra discussione su <a href="/learn/javascript-algorithms-and-data-structures/basic-javascript/storing-values-with-the-assignment-operator" target="_blank" rel="noopener noreferrer nofollow">Memorizzare valori con l'operatore di assegnazione</a>, l'espressione a destra del segno uguale viene risolta prima che il valore venga assegnato. Questo significa che possiamo prendere il valore restituito da una funzione e assegnarlo a una variabile.
Assume we have defined a function `sum` which adds two numbers together.
Supponiamo di avere definito una funzione `sum` che somma due numeri.
```js
ourSum = sum(5, 12);
```
Calling the `sum` function with the arguments of `5` and `12` produces a return value of `17`. This return value is assigned to the `ourSum` variable.
Chiamare la funzione `sum` con gli argomenti `5` e `12` produce un valore di ritorno di `17`. Questo valore di ritorno è assegnato alla variabile `ourSum`.
# --instructions--

View File

@@ -19,7 +19,11 @@ Le virgolette non sono gli unici caratteri dei quali si può fare l'<dfn>escapin
Assegna le seguenti tre righe di testo in una sola variabile `myStr` usando le sequenze di escape.
<blockquote>FirstLine<br>    \SecondLine<br>ThirdLine</blockquote>
<pre>
FirstLine
    \SecondLine
ThirdLine
</pre>
Dovrai usare le sequenze di escape per inserire i caratteri speciali correttamente. Dovrai seguire anche la spaziatura come sopra, senza spazi tra sequenze di escape o le parole.

View File

@@ -60,43 +60,43 @@ Dovresti avere almeno quattro istruzioni `break`
assert(code.match(/break/g).length >= 4);
```
`chainToSwitch("bob")` dovrebbe essere la stringa `Marley`
`chainToSwitch("bob")` should return the string `Marley`
```js
assert(chainToSwitch('bob') === 'Marley');
```
`chainToSwitch(42)` dovrebbe essere la stringa `The Answer`
`chainToSwitch(42)` should return the string `The Answer`
```js
assert(chainToSwitch(42) === 'The Answer');
```
`chainToSwitch(1)` dovrebbe essere la stringa `There is no #1`
`chainToSwitch(1)` should return the string `There is no #1`
```js
assert(chainToSwitch(1) === 'There is no #1');
```
`chainToSwitch(99)` dovrebbe essere la stringa `Missed me by this much!`
`chainToSwitch(99)` should return the string `Missed me by this much!`
```js
assert(chainToSwitch(99) === 'Missed me by this much!');
```
`chainToSwitch(7)` dovrebbe essere la stringa `Ate Nine`
`chainToSwitch(7)` should return the string `Ate Nine`
```js
assert(chainToSwitch(7) === 'Ate Nine');
```
`chainToSwitch("John")` dovrebbe essere `""` (stringa vuota)
`chainToSwitch("John")` should return `""` (empty string)
```js
assert(chainToSwitch('John') === '');
```
`chainToSwitch(156)` dovrebbe essere `""` (stringa vuota)
`chainToSwitch(156)` should return `""` (empty string)
```js
assert(chainToSwitch(156) === '');