chore(i18n,learn): processed translations (#45574)
This commit is contained in:
@ -45,13 +45,13 @@ Riscrivi la funzione assegnata alla variabile `magic`, che restituisce una `new
|
||||
Dovresti sostituire la parola chiave `var`.
|
||||
|
||||
```js
|
||||
(getUserInput) => assert(!getUserInput('index').match(/var/g));
|
||||
assert.notMatch(code, /var/g)
|
||||
```
|
||||
|
||||
`magic` dovrebbe essere una variabile costante (usando `const`).
|
||||
|
||||
```js
|
||||
(getUserInput) => assert(getUserInput('index').match(/const\s+magic/g));
|
||||
assert.match(code, /const\s+magic/g)
|
||||
```
|
||||
|
||||
`magic` dovrebbe essere una `function`.
|
||||
@ -69,7 +69,7 @@ assert(magic().setHours(0, 0, 0, 0) === new Date().setHours(0, 0, 0, 0));
|
||||
La parola chiave `function` non dovrebbe essere utilizzata.
|
||||
|
||||
```js
|
||||
(getUserInput) => assert(!getUserInput('index').match(/function/g));
|
||||
assert.notMatch(code, /function/g)
|
||||
```
|
||||
|
||||
# --seed--
|
||||
|
Reference in New Issue
Block a user