mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-01-02 03:03:23 -05:00
chore(i18n,learn): processed translations (#46872)
This commit is contained in:
@@ -32,6 +32,12 @@ Crie `myStr` a partir das strings `This is the start.` e `This is the end.` usan
|
||||
|
||||
# --hints--
|
||||
|
||||
`myStr` deve ter um único caractere de espaço entre as duas strings.
|
||||
|
||||
```js
|
||||
assert(/start\. This/.test(myStr));
|
||||
```
|
||||
|
||||
`myStr` deve ter o valor da string `This is the start. This is the end.`
|
||||
|
||||
```js
|
||||
|
||||
@@ -28,6 +28,12 @@ Crie `myStr` em várias linhas concatenando essas duas strings: `This is the fir
|
||||
|
||||
# --hints--
|
||||
|
||||
`myStr` deve ter um único caractere de espaço entre as duas strings.
|
||||
|
||||
```js
|
||||
assert(/sentence\. This/.test(myStr));
|
||||
```
|
||||
|
||||
`myStr` deve ter como valor a string `This is the first sentence. This is the second sentence.`
|
||||
|
||||
```js
|
||||
|
||||
@@ -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]` é a string `Y`, `alpha[24]` é a string `C` e `alpha[value]` é a string `Y`.
|
||||
`thirdLetter` é a string `Y`, `lastLetter` é a string `C` e `valueLookup` é a string `Y`.
|
||||
|
||||
# --instructions--
|
||||
|
||||
|
||||
Reference in New Issue
Block a user