mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-01-19 00:02:27 -05:00
chore(i18n,learn): processed translations (#46907)
This commit is contained in:
@@ -32,7 +32,13 @@ Costruisci `myStr` dalle stringhe `This is the start.` e `This is the end.` usan
|
||||
|
||||
# --hints--
|
||||
|
||||
`myStr` dovrebbe avere un valore stringa `This is the start. This is the end.`
|
||||
`myStr` dovrebbe avere un singolo spazio tra le due stringhe.
|
||||
|
||||
```js
|
||||
assert(/start\. This/.test(myStr));
|
||||
```
|
||||
|
||||
Il valore di `myStr` dovrebbe essere la stringa `This is the start. This is the end.`
|
||||
|
||||
```js
|
||||
assert(myStr === 'This is the start. This is the end.');
|
||||
|
||||
@@ -28,7 +28,13 @@ Costruisci `myStr` su diverse righe concatenando queste due stringhe: `This is t
|
||||
|
||||
# --hints--
|
||||
|
||||
`myStr` dovrebbe avere un valore stringa `This is the first sentence. This is the second sentence.`
|
||||
`myStr` dovrebbe avere un singolo spazio tra le due stringhe.
|
||||
|
||||
```js
|
||||
assert(/sentence\. This/.test(myStr));
|
||||
```
|
||||
|
||||
Il valore di `myStr` dovrebbe essere la stringa `This is the first sentence. This is the second sentence.`
|
||||
|
||||
```js
|
||||
assert(myStr === 'This is the first sentence. This is the second sentence.');
|
||||
|
||||
@@ -25,14 +25,14 @@ const alpha = {
|
||||
26:"A"
|
||||
};
|
||||
|
||||
alpha[2];
|
||||
alpha[24];
|
||||
const thirdLetter = alpha[2];
|
||||
const lastLetter = alpha[24];
|
||||
|
||||
const value = 2;
|
||||
alpha[value];
|
||||
const valueLookup = alpha[value];
|
||||
```
|
||||
|
||||
`alpha[2]` è la stringa `Y`, `alpha[24]` è la stringa `C`, e `alpha[value]` è la stringa `Y`.
|
||||
`thirdLetter` è la stringa `Y`, `lastLetter` è la stringa `C` e `valueLookup` è la stringa `Y`.
|
||||
|
||||
# --instructions--
|
||||
|
||||
|
||||
Reference in New Issue
Block a user