chore(i18n,learn): processed translations (#45574)
This commit is contained in:
@ -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--
|
||||
|
Reference in New Issue
Block a user