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

This commit is contained in:
camperbot
2022-03-11 22:52:40 +05:30
committed by GitHub
parent 1e63f38c53
commit ecfdb41f97
41 changed files with 356 additions and 192 deletions

View File

@ -38,9 +38,13 @@ assert(myVar === 10);
`myVar = myVar - 1;` dovrebbe essere modificato.
```js
assert(
/let\s*myVar\s*=\s*11;\s*\/*.*\s*([-]{2}\s*myVar|myVar\s*[-]{2});/.test(code)
);
assert(!code.match(/myVar\s*=\s*myVar\s*[-]\s*1.*?;?/));
```
Non dovresti assegnare `10` a `myVar`.
```js
assert(!code.match(/myVar\s*=\s*10.*?;?/));
```
Dovresti usare l'operatore `--` su `myVar`.