Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README-zh_CN.md: fix typo in answer 117 #789

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions zh-CN/README-zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -3760,7 +3760,7 @@ console.log(person)

---

###### 117. 下面那个选项将会返回 `6`?
###### 117. 下面哪个选项将会返回 `6`?

```javascript
function sumValues(x, y, z) {
Expand All @@ -3778,7 +3778,7 @@ function sumValues(x, y, z) {

#### 答案:C

通过展开操作符 `...`,我们可以 _暂开_ 单个可迭代的元素。函数 `sumValues` function 接收三个参数:`x`, `y` 和 `z`。`...[1, 2, 3]` 的执行结果为 `1, 2, 3`,将会传递给函数 `sumValues`。
通过展开操作符 `...`,我们可以将可迭代对象 _展开_ 为单个的元素组合。函数 `sumValues` function 接收三个参数:`x`, `y` 和 `z`。`...[1, 2, 3]` 的执行结果为 `1, 2, 3`,将会传递给函数 `sumValues`。

</p>
</details>
Expand Down