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

This commit is contained in:
camperbot
2022-03-14 22:46:48 +05:30
committed by GitHub
parent 9a48c71ecf
commit d94177d85c
61 changed files with 592 additions and 335 deletions

View File

@ -38,9 +38,13 @@ assert(myVar === 10);
`myVar = myVar - 1;` debe cambiarse.
```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.*?;?/));
```
No debes asignar `myVar` con `10`.
```js
assert(!code.match(/myVar\s*=\s*10.*?;?/));
```
Debes usar el operador `--` en `myVar`.