chore(i18n,curriculum): update translations (#43332)
This commit is contained in:
@ -43,7 +43,7 @@ assert.deepEqual(
|
||||
);
|
||||
```
|
||||
|
||||
第一個數組中的所有元素都應按原始順序添加到第二個數組中。
|
||||
第一個數組中的所有元素都應按原始順序添加到第二個數組中。 `frankenSplice([1, 2, 3, 4], [], 0)` 應返回 `[1, 2, 3, 4]`。
|
||||
|
||||
```js
|
||||
assert.deepEqual(frankenSplice([1, 2, 3, 4], [], 0), [1, 2, 3, 4]);
|
||||
|
@ -28,7 +28,7 @@ var ourStr = "I come first. " + "I come second.";
|
||||
字符串 `I come first. I come second.` 將顯示在控制檯中。
|
||||
# --instructions--
|
||||
|
||||
使用 `+` 操作符連接字符串`This is the start.` 和 `This is the end.` 賦值給 `myStr` 。
|
||||
用字符串 `This is the start.` 和 `This is the end.` 通過 `+` 運算符創建 `myStr`。 確保在兩個字符串之間包含一個空格。
|
||||
|
||||
# --hints--
|
||||
|
||||
|
@ -24,7 +24,7 @@ ourStr += "I come second.";
|
||||
|
||||
# --instructions--
|
||||
|
||||
使用 `+=` 操作符,多行合併字符串 `This is the first sentence.` 和 `This is the second sentence.` ,並賦值給 `myStr` 。 像示例那樣使用 `+=` 操作符。 先把第一個字符串賦值給 `myStr`,然後拼接第二個字符串。
|
||||
使用 `+=` 操作符,多行合併字符串 `This is the first sentence.` 和 `This is the second sentence.` ,並賦值給 `myStr` 。 參照示例中顯示的方式使用 `+=` 操作符,並確保在兩個字符串之間包含一個空格。 先把第一個字符串賦值給 `myStr`,然後拼接第二個字符串。
|
||||
|
||||
# --hints--
|
||||
|
||||
|
@ -28,7 +28,7 @@ dashedName: escape-sequences-in-strings
|
||||
|
||||
你需要使用轉義字符正確地插入特殊字符。 確保間距與上面文本一致,並且單詞或轉義字符之間沒有空格。
|
||||
|
||||
**注意:** `SecondLine` 是因爲鍵入了轉義字符(而不是空格),所以在那個位置。
|
||||
**注意:**`SecondLine` 前面的空白是製表符,而不是空格。
|
||||
|
||||
# --hints--
|
||||
|
||||
|
@ -8,7 +8,7 @@ dashedName: iterate-over-all-properties
|
||||
|
||||
# --description--
|
||||
|
||||
現在你已經瞭解了兩種屬性: <dfn>自身屬性</dfn>和 `prototype` 屬性。 自身屬性是直接在對象上定義的。 而 `prototype` 屬性是定義在 `prototype` 上的。
|
||||
現在你已經瞭解了兩種屬性: <dfn>自身屬性</dfn>和 `prototype` 屬性。 自身屬性是直接在對象上定義的。 而原型屬性在 `prototype` 上定義。
|
||||
|
||||
```js
|
||||
function Bird(name) {
|
||||
|
Reference in New Issue
Block a user