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

This commit is contained in:
camperbot
2022-02-19 20:11:19 +05:30
committed by GitHub
parent 75f3278c06
commit 2d3ac85ebf
49 changed files with 444 additions and 492 deletions

View File

@ -25,7 +25,7 @@ JavaScript では、`+` 演算子を `String` の値に対して使用する場
const ourStr = "I come first. " + "I come second.";
```
文字列 `I come first. ` `I come second.`コンソールに表示されます。
コンソールに、文字列 `I come first. I come second.` が表示されます。
# --instructions--
`+` 演算子を使用して、文字列 `This is the start.``This is the end.` から `myStr` を作成してください。 2 つの文字列の間に空白を必ず含めるようにしてください。

View File

@ -21,21 +21,21 @@ FAV_PET = "Dogs";
再代入を必要としない変数に名前を付けるときは、常に `const` キーワードを使用してください。 そうすれば、定数でなければならない変数に誤って再代入しようとするのを防ぐのに役立ちます。
**Note:** It is common for developers to use uppercase variable identifiers for immutable values and lowercase or camelCase for mutable values (objects and arrays). You will learn more about objects, arrays, and immutable and mutable values in later challenges. Also in later challenges, you will see examples of uppercase, lowercase, or camelCase variable identifiers.
**:** 開発者は一般に、イミュータブル (変更不可) の値には大文字の変数識別子を使用し、ミュータブル (変更可能) の値 (オブジェクトや配列) には小文字またはキャメルケースを使用します。 オブジェクトや配列、ミュータブルの値とイミュータブルの値については、このあとのチャレンジで詳しく説明します。 また以降のチャレンジでは、大文字、小文字、またはキャメルケースのさまざまな変数識別子を使用します。
# --instructions--
Change the code so that all variables are declared using `let` or `const`. Use `let` when you want the variable to change, and `const` when you want the variable to remain constant. Also, rename variables declared with `const` to conform to common practices.
コードを変更して、すべての変数を `let` または `const` を使用して宣言してください。 変更を必要とする変数には `let` を使用し、定数にする必要がある変数には `const` を使用してください。 また、`const` で宣言した変数の名前について、一般的な慣習に従うように変更してください。
# --hints--
`var` should not exist in your code.
`var` がコード内に存在しないようにしてください。
```js
(getUserInput) => assert(!getUserInput('index').match(/var/g));
```
You should change `fCC` to all uppercase.
`fCC` をすべて大文字に変更する必要があります。
```js
(getUserInput) => {
@ -44,20 +44,20 @@ You should change `fCC` to all uppercase.
}
```
`FCC` should be a constant variable declared with `const`.
`FCC` `const` で宣言された定数変数である必要があります。
```js
assert.equal(FCC, 'freeCodeCamp');
assert.match(code, /const\s+FCC/);
```
`fact` should be declared with `let`.
`fact` `let` を使用して宣言する必要があります。
```js
(getUserInput) => assert(getUserInput('index').match(/(let fact)/g));
```
`console.log` should be changed to print the `FCC` and `fact` variables.
`console.log` を、`FCC` `fact` 変数が出力されるように変更する必要があります。
```js
(getUserInput) =>