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

This commit is contained in:
camperbot
2022-03-30 19:29:31 +05:30
committed by GitHub
parent d9d363b6fe
commit 5564dd017b
8 changed files with 24 additions and 24 deletions

View File

@ -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--