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 @@ const myFunc = () => "value";
`var` キーワードを置き換える必要があります。
```js
(getUserInput) => assert(!getUserInput('index').match(/var/g));
assert.notMatch(code, /var/g)
```
`magic` は (`const` を使用して宣言した) 定数変数である必要があります。
```js
(getUserInput) => assert(getUserInput('index').match(/const\s+magic/g));
assert.match(code, /const\s+magic/g)
```
`magic``function` である必要があります。
@ -69,7 +69,7 @@ assert(magic().setHours(0, 0, 0, 0) === new Date().setHours(0, 0, 0, 0));
`function` キーワードは使用しないでください。
```js
(getUserInput) => assert(!getUserInput('index').match(/function/g));
assert.notMatch(code, /function/g)
```
# --seed--