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--
|
||||
|
||||
|
Reference in New Issue
Block a user