Skip to content

Commit

Permalink
Translation zh-TW answer 80
Browse files Browse the repository at this point in the history
  • Loading branch information
sexyoung committed Jul 2, 2021
1 parent c47809a commit 0aa2e63
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion zh-TW/README_zh-TW.md
Original file line number Diff line number Diff line change
Expand Up @@ -2490,7 +2490,7 @@ console.log(addFunction(5 * 2));
</details>

---
###### 79. 输出什么?
###### 79. 將會輸出什麽內容?

```javascript
const myLifeSummedUp = ["", "💻", "🍷", "🍫"]
Expand Down Expand Up @@ -2526,3 +2526,29 @@ for (let item of myLifeSummedUp) {
</details>

---

###### 80. 將會輸出什麽內容?

```javascript
const list = [1 + 2, 1 * 2, 1 / 2]
console.log(list)
```

- A: `["1 + 2", "1 * 2", "1 / 2"]`
- B: `["12", 2, 0.5]`
- C: `[3, 2, 0.5]`
- D: `[1, 1, 1]`

<details><summary><b>答案</b></summary>
<p>

#### 答案: C

陣列元素可以包含任何值。數字,字符,布爾,物件,陣列,`null``undeifned`, 以及其他表達式,如日期,函數和計算式。

元素將等於回傳的值。 `1 + 2`回傳`3``1 * 2`回傳'2`,'1 / 2`回傳`0.5`

</p>
</details>

---

0 comments on commit 0aa2e63

Please sign in to comment.