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