---
# System prepended metadata

title: "\U0001F3C5 Day 7 - 邏輯運算子"
tags: [JS 直播班 - 2023 秋季班]

---

---
tags: JS 直播班 - 2023 秋季班
---
# 🏅 Day 07 - 邏輯運算子

### 題目
請看完此篇文章的「[邏輯運算子](https://developer.mozilla.org/zh-TW/docs/Web/JavaScript/Guide/Expressions_and_Operators#%E9%82%8F%E8%BC%AF%E9%81%8B%E7%AE%97%E5%AD%90)」部分，
並試著回答以下程式碼 a、b、c、d、e 的值。

問題
---
```javascript=
let a = true || false;
let b = 1 && 0;
let c = (4 > 3) && (2 >= 2);
let d = !(4 > 3);
let e = true && (1 > 2);
```


## 回報流程

將答案寫在 CodePen 並複製 CodePen 連結貼至底下回報就算完成了喔! 
解答位置請參考下圖（需打開程式碼的部分觀看）

![](https://i.imgur.com/vftL5i0.png)

<!-- 解答：  

a: true
b: 0
c: true
d: false
e: false
-->




回報區
---


|   Discord    |                    CodePen / 答案                      |
|:----------:|:-------------------------------------------------------:|
|hsu0921|[CodePen](https://codepen.io/HSUANIN0327/pen/BavgQRK)|
|kuanju27|[CodePen](https://codepen.io/Eero-Chiao/pen/vYvqyZB)|
|風羽|[CodePen](https://codepen.io/Joy-Huang/pen/Bavgyde?editors=0010)|
|pinyi_9|[CodePen](https://codepen.io/Wpypy/pen/eYbwBWM?editors=1011)|
|MDFK|[CodePen](https://codepen.io/maywang/pen/Bavgyzb?editors=0012)|
|Morning|[CodePen](https://codepen.io/sxzjnkxs-the-styleful/pen/NWeZbwp?editors=0010)|
|CPing|[CodePen](https://codepen.io/CPing/pen/NWeZbXp)|
|詹姆士|[CodePen](https://codepen.io/z111048/pen/BavgQZz)|
|santu0868|[CodePen](https://codepen.io/HatsumiSan/pen/RwEzojN)|
|楓仔|[CodePen](https://codepen.io/maplestartend/pen/ZEVdBxo?editors=0010)|
|runweiting|[CodePen](https://codepen.io/weiting14/pen/KKbjNxZ)|
|yuling|[Codepen](https://codepen.io/igzdflpu/pen/jOXjVea)|
|Fabio20|[Codepen](https://codepen.io/fabio7621/pen/abPgBgr)|
|Lychee KK|[Codepen](https://codepen.io/kakakala/pen/mdaZONr)|
|Peng|[Codepen](https://codepen.io/H-Peng/pen/vYvqyML?editors=0010)|
|銀光菇|[CodePen](https://codepen.io/genesynthesis/pen/oNJrBvg)|
| yuan! | [CodePen](https://codepen.io/townyuan/pen/poqXRzK) |
| phyllis_0802 | [CodePen](https://codepen.io/Phyllis-Cheng/pen/GRPbrJr) |
| cest_jessie | [CodePen](https://codepen.io/itsjessiechen/pen/RwEzKPG) |
| Ann Chou | [CodePen](https://codepen.io/annchou_illu/pen/LYMKxZp) |
| hsiu8767 | [CodePen](https://codepen.io/hsiu8767/pen/ExGBZwx?editors=0010) |
| Allen | [CodePen](https://codepen.io/hlctw/pen/QWzXdqV) |
| shcopy | [CodePen](https://codepen.io/shcopy/pen/xxmogRx) |
| Winnie | [CodePen](https://codepen.io/codepen-io-winnie/pen/ExGBZZY?editors=0011) |
| hsuanlee1084 | [CodePen](https://codepen.io/hsuanlee1024/pen/oNJrBVW?editors=1010) |
| Andy | [CodePen](https://codepen.io/andy31342/pen/xxmogKv?editors=0011) |
| Helen | [CodePen](https://codepen.io/milkteamonster/pen/xxmogMO?editors=1010) |
| jiayu | [CodePen](https://codepen.io/fjqxaznl-the-reactor/pen/dywBvWd?editors=0010) |
| Ccccc| [CodePen](https://codepen.io/CyreneTsai/pen/wvRLJKN) |
| Alyce| [CodePen](https://codepen.io/alycehwy/pen/yLGdMxa?editors=0010) 
| shuuu | [CodePen](https://codepen.io/afjrvjzl-the-bashful/pen/jOXjBJq?editors=1111) |
| claire | [CodePen](https://codepen.io/yi-wen-chen/pen/wvRLopo) |
| Uli | [CodePen](https://codepen.io/uli1313/pen/NWeZjKx?editors=0011) |
| xin | [CodePen](https://codepen.io/Estherrrrrr999/pen/yLGdbeX) |
| ShangChu | [CodePen]([網址](https://codepen.io/shangchu0412/pen/zYyVwNa?editors=0010)) |
| 蛋塔 | [CodePen](https://codepen.io/Hong-Game1/pen/eYbwWrK) |
| Peggy | [CodePen]([網址](https://codepen.io/peggylai/pen/RwEzpje?editors=1010)) |
| Eden | [CodePen](https://codepen.io/iseden/pen/rNoEyYj) |
|阿榮|[Codepen](https://codepen.io/codeitaday/pen/xxmodNN)|
| shawey.1a2b | [Codepen](https://codepen.io/Shawey/pen/NWeZjzj) |
| Ivy | [CodePen](https://codepen.io/Irene-Ke/pen/oNJrwyY?editors=1010) |
| Ataraxia | [CodePen](https://codepen.io/ataraxia8888/pen/vYvpQdM) |
| Leo |[CodePen](https://codepen.io/Aruminiya/pen/LYMKjpL)|
| ming0712 |[CodePen](https://codepen.io/StevenHuang/pen/poqXrgz?editors=0010)|
| judy123 |[CodePen](https://codepen.io/tsong-h/pen/Yzdoxrv?editors=1010)|
| 小夏 |[CodePen](https://codepen.io/michaelhsia/pen/QWzXMrw)|
| Daylily | [CodePen](https://codepen.io/daylily/pen/ExGBvmW) |
|Moreene|[CodePen](https://codepen.io/Moreene/pen/zYyVPvX)|
| tanuki5863 | [CodePen](https://codepen.io/tanuki320/pen/zYyVPjY?editors=1111) |
| 維哲 | [CodePen](https://codepen.io/kwz1202/pen/XWoLVmd) |
| ann6212 | [CodePen](https://codepen.io/yqmegupa-the-styleful/pen/rNoEpyL?editors=1111) |
| kawa |  [CodePen](https://codepen.io/z83xji6/pen/YzdoYaj?editors=1010)|
| gebyman |  [CodePen](https://codepen.io/gebyman/pen/poqXaJR?editors=0010)|
| Lainie1931 |  [CodePen](https://codepen.io/Lainie88/pen/gOZNozq?editors=1011)|
| nini1202desu | [CodePen](https://codepen.io/tvxq5206/pen/bGOPLqe?editors=0010) |
| 奔跑吧(GTR150) | [CodePen](https://codepen.io/Wer-Qwe/pen/rNoEJyJ) |
| Zhu | [CodePen](https://codepen.io/codepenplayer/pen/NWeZyKG) |
| 荷菓かのり | [CodePen](https://codepen.io/oogxwkvw-the-builder/pen/dywBdKx?editors=0012) |
| jimmy.0706 | [CodePen](https://codepen.io/WeiJun-Mao/pen/MWZMQNB) |
| Jun_ | [CodePen](https://codepen.io/Jun-L/pen/JjwQpgQ) |
| MY | [CodePen](https://codepen.io/ahmomoz/pen/VwqJXXP) |
| IRIS | [CodePen](https://codepen.io/sz594380/pen/KKbjpQy?editors=0010) |
| Tina02 | [CodePen](https://codepen.io/chjitlox-the-bashful/pen/OJrYmom) |
| smalljie | [CodePen](https://codepen.io/smalljie/pen/JjwQZGB) |
| Noah | [CodePen](https://codepen.io/lch1222/pen/VwqJdpN) |
| LinaChen | [CodePen](https://codepen.io/LinaChen/pen/zYyVage) |
| 凱恩| [CodePen](https://codepen.io/Royen0506/pen/abPgjJo?editors=1111) |
| shiro | [CodePen](https://codepen.io/chenghsienwang/pen/eYbwjrw) |
| Zem | [CodePen](https://codepen.io/Potoro/pen/RwEzYNQ) |
| SHUO | [CodePen](https://codepen.io/xrzarxkl-the-reactor/pen/eYbXELj) |
| Rogan | [CodePen](https://codepen.io/RoganHsu/pen/eYbwLBJ?editors=0011) |
| yu.t_liu | [CodePen](https://codepen.io/YuT200053/pen/qBLzJOy?editors=0011) |
| dora | [CodePen](https://codepen.io/dorayu/pen/bGOPxVO?editors=1112) |
| Fia | [CodePen](https://codepen.io/pen/?editors=1010) |
| 精靈 | [CodePen](https://codepen.io/justafairy/pen/KKbjrBb?editors=0011) |
| Mattie | [CodePen](https://codepen.io/mattielin/pen/BavgvWv) |
| cosmos7755 | [CodePen](https://codepen.io/violet7755/pen/OJarorV) |
| celinelinnn |[Codepen](https://codepen.io/celinephoebe/pen/JjwQzYg)|
| xiaokui_71292 | [Codepen](https://codepen.io/pen?template=PoXrMKx)|
| 依依 | [Codepen](https://codepen.io/Rita-Yang/pen/abPeoEa?editors=0010)|
| yuan2781 | [CodePen](https://codepen.io/ismebir/pen/jOXgOPZ)|
| yaoling.liang |[Codepen](https://codepen.io/Yao-Ling-L-/pen/vYvoEvz?editors=1111)
| ChrisSQR | [Codepen](https://codepen.io/ChrisSQR/pen/dywxYYP)|
| Ching | [Codepen](https://codepen.io/tzuchingg/pen/zYygvoX?editors=0011)|
| zona | [Codepen](https://codepen.io/w242920/pen/rNoXOwR)|
| 保羅 | [Codepen](https://codepen.io/paul-1997/pen/XWoLNRY)|
| JasonFu | [Codepen](https://codepen.io/jie-Fu/pen/MWZNBgQ)|
| damon0323 | [Codepen](https://codepen.io/swk9eny2/pen/abPejrz?editors=0010)|
| PH | [Codepen](https://codepen.io/lokf9527/pen/YzdmOve?editors=0010)|
| 一畫 | [CodePen](https://codepen.io/YH-K-the-selector/pen/mdaNzad)|
| 白夜 | [CodePen](https://codepen.io/Wei903/pen/LYMwXWP?editors=1112) |
| RX00 | [CodePen](https://codepen.io/llqzknqv-the-styleful/pen/OJrKapp?editors=0011) |
| 阿賀#3700 | [CodePen](https://codepen.io/sungho/pen/LYMwXbw) |
| penny_41707 | [CodePen](https://codepen.io/penny-wang-the-flexboxer/pen/xxmvBvG) |
| Vivian2857 | [CodePen](https://codepen.io/uojbohed-the-solid/pen/ExGqJEg?editors=0010) |
| davidtt | [CodePen](https://codepen.io/David-Tsai/pen/poqMMxo?editors=0011) |
| minnielin | [CodePen](https://codepen.io/ShengXin-Lin/pen/wvNwvLy) |
|Rxzan|[Codepen](https://codepen.io/Tzuru-Chen/pen/mdvbWmq)|
| Oria | [CodePen](https://codepen.io/kajing/pen/XWOrawj?editors=0010) |
| 辣椒 | [Codepen](https://codepen.io/chilichen118/pen/GRzKQWz) ||
|OSN|[Codepen](https://codepen.io/osncodepen/pen/abXoRLV?editors=1111)|
|Yijing|[Codepen](https://codepen.io/Yi-Jing-71080635/pen/qBgWzzB?editors=1010)|
|郭芙蘭#6374|[Codepen](https://codepen.io/flora_Kuo/pen/KKbjqrE?editors=1111)|
|_shun0130|[Codepen](https://codepen.io/koba60052ww/pen/zYeYPYp?editors=0011)|
|xuan#0808|[Codepen](https://codepen.io/xuan0915/pen/qBgBQvG?editors=0012)|
| Chia Pin | [CodePen](https://codepen.io/joker-cat/pen/poGoqjK) |
| Joy chiang| [CodePen](https://codepen.io/fwysphbw-the-vuer/pen/YzBPeBv)|
|sponge|[Codepen](https://codepen.io/biunpujm-the-flexboxer/pen/poGvaXg?editors=1010)|
| hsuhsusophie | [CodePen](https://codepen.io/hsuhsusophie/pen/JjxomPG?editors=0011) |
| hank._.z | [CodePen](https://codepen.io/linoiaby-the-sans/pen/qBgEJBN) |
| sunny_08149 | [CodePen](https://codepen.io/Sunny-Lin/pen/VwgLbmp) |
| 小廷 | [CodePen](https://codepen.io/uyxkiake-the-selector/pen/vYbOqbP?editors=0010) |
|    Jerry | [CodePen](https://codepen.io/ildkosxk-the-encoder/pen/ZEwbzxg) |
| QOO#8446 | [CodePen](https://codepen.io/QOOQOOQ/pen/ExGBvdw) |
| 歐陽龍龍#1061 | [CodePen](https://codepen.io/dizzydog-rgb/pen/BaMopov) |
| ss585801 | [CodePen](https://codepen.io/ss585801/pen/jOdbyrN) |
| 阿維#2569 | [CodePen](https://codepen.io/iijojpli-the-looper/pen/JjxYWgg?editors=1111) |
| 地球儀 | [CodePen](https://codepen.io/dayday1222/pen/yLZYEGW?editors=0010) |
| skypassion5000 | [CodePen](https://codepen.io/skypassion5000/pen/oNmjmLX?editors=0010) |
| Befun | [CodePen](https://codepen.io/richard260572/pen/ZEwbgeX?editors=0011) |
| Iris | [CodePen](https://codepen.io/iris831206/pen/qBgbzBZ) |
| _Luna | [CodePen](https://codepen.io/sfctsolp-the-sasster/pen/GRzrYmX?editors=0010) |
| Rochel |[Codepen](https://codepen.io/rochelwang1205/pen/ZEwKazW)|
| Maci Huang |[Codepen](https://codepen.io/macy1215/pen/ZEwoXrQ)|
| bf_tsai | [CodePen](https://codepen.io/BF-Tsai/pen/JjxBVGB?editors=1111) |
| NathanJames | [CodePen]([網址](https://codepen.io/ufo060204/pen/gOqdowV)) |

<!--
| 名稱 | [CodePen](網址) |
-->