chore(i18n,curriculum): update translations (#42070)

This commit is contained in:
camperbot
2021-05-10 01:12:02 +05:30
committed by GitHub
parent 91a6690634
commit 253f30b205
48 changed files with 246 additions and 230 deletions

View File

@ -21,7 +21,7 @@ dashedName: remove-whitespace-from-start-and-end
`result` 应该等于 `Hello, World!`
```js
assert(result == 'Hello, World!');
assert(result === 'Hello, World!');
```
你不应该使用 `String.prototype.trim()` 方法。
@ -30,10 +30,10 @@ assert(result == 'Hello, World!');
assert(!code.match(/\.?[\s\S]*?trim/));
```
`result` 变量不应该设置为等于字符串。
`result` 变量的值不应该是一个字符串。
```js
assert(!code.match(/result\s*=\s*".*?"/));
assert(!code.match(/result\s*=\s*["'`].*?["'`]/));
```
# --seed--