chore(i18n,curriculum): update translations (#42323)
This commit is contained in:
@ -17,7 +17,7 @@ console.log("Alan Peter".length);
|
||||
|
||||
字符串 `10` 將會出現在控制檯中。
|
||||
|
||||
例如,我們創建了一個變量 `var firstName = "Charles"`,我們就可以通過使用 `firstName.length` 來獲得 `Charles` 字符串的長度。
|
||||
例如,如果我們創建了一個變量 `var firstName = "Ada"`,我們就可以通過使用 `firstName.length` 屬性來獲得字符串 `Ada` 的長度。
|
||||
|
||||
# --instructions--
|
||||
|
||||
|
@ -19,7 +19,7 @@ function testFun(param1, param2) {
|
||||
}
|
||||
```
|
||||
|
||||
然後我們可以調用 `testFun`,就像這樣: `testFun("Hello", "World");`。 我們傳入了兩個字符串參數, `Hello` 和`World`。 在函數中,`param1` 等於字符串 `Hello` 以及 `param2` 等於字符串 `World`。 請注意,`testFun` 函數可以多次調用,每次調用時傳遞的參數會決定參數的實際值。
|
||||
然後我們可以調用 `testFun`,就像這樣: `testFun("Hello", "World");`。 我們傳入了兩個字符串參數, `Hello` 和 `World`。 在函數中,`param1` 等於字符串 `Hello` 以及 `param2` 等於字符串 `World`。 請注意,`testFun` 函數可以多次調用,每次調用時傳遞的參數會決定參數的實際值。
|
||||
|
||||
# --instructions--
|
||||
|
||||
|
@ -75,7 +75,7 @@ assert(
|
||||
);
|
||||
```
|
||||
|
||||
`date` prop 應由調用 `Date()` 生成。
|
||||
`date` 屬性應該通過調用 `Date()` 生成。
|
||||
|
||||
```js
|
||||
assert(/<CurrentDatedate={Date\(\)}\/>/.test(__helpers.removeWhiteSpace(code)));
|
||||
|
@ -17,7 +17,7 @@ console.log("Alan Peter".length);
|
||||
|
||||
字符串 `10` 将会出现在控制台中。
|
||||
|
||||
例如,我们创建了一个变量 `var firstName = "Charles"`,我们就可以通过使用 `firstName.length` 来获得 `Charles` 字符串的长度。
|
||||
例如,如果我们创建了一个变量 `var firstName = "Ada"`,我们就可以通过使用 `firstName.length` 属性来获得字符串 `Ada` 的长度。
|
||||
|
||||
# --instructions--
|
||||
|
||||
|
@ -19,7 +19,7 @@ function testFun(param1, param2) {
|
||||
}
|
||||
```
|
||||
|
||||
然后我们可以调用 `testFun`,就像这样: `testFun("Hello", "World");`。 我们传入了两个字符串参数, `Hello` 和`World`。 在函数中,`param1` 等于字符串 `Hello` 以及 `param2` 等于字符串 `World`。 请注意,`testFun` 函数可以多次调用,每次调用时传递的参数会决定参数的实际值。
|
||||
然后我们可以调用 `testFun`,就像这样: `testFun("Hello", "World");`。 我们传入了两个字符串参数, `Hello` 和 `World`。 在函数中,`param1` 等于字符串 `Hello` 以及 `param2` 等于字符串 `World`。 请注意,`testFun` 函数可以多次调用,每次调用时传递的参数会决定参数的实际值。
|
||||
|
||||
# --instructions--
|
||||
|
||||
|
@ -75,7 +75,7 @@ assert(
|
||||
);
|
||||
```
|
||||
|
||||
`date` prop 应由调用 `Date()` 生成。
|
||||
`date` 属性应该通过调用 `Date()` 生成。
|
||||
|
||||
```js
|
||||
assert(/<CurrentDatedate={Date\(\)}\/>/.test(__helpers.removeWhiteSpace(code)));
|
||||
|
Reference in New Issue
Block a user