---
# System prepended metadata

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

---

# 🏅 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 / 答案 |
| --- | ----- | ----- |
| 01 |   泊岸   | [CodePen](https://codepen.io/qoq77416416/pen/jOgqEGE?editors=0010) | 
|02|朋仔|[CodePen](https://codepen.io/YPHUANG/pen/ZEgWeNe?editors=0010)|
|03|Jainee|[CodePen](https://codepen.io/Jainee0110/pen/XWvKyJB)|
|04|voke|[CodePen](https://codepen.io/qoq77416416/pen/jOgqEGE)|
|05|xcx100| [CodePen](https://codepen.io/c13026/pen/MWNjbqm?editors=0012) | 
|06|GAVI| [CodePen](https://codepen.io/qbafldcv-the-scripter/pen/JjgRbeB?editors=0010) |
| 07 | Lobinda | [CodenPen](https://codepen.io/Lobinda/pen/RwXGovm)|
|08|Hailey|[Codepen](https://codepen.io/sxbokfja-the-flexboxer/pen/oNKzYRJ)|
|09|tim|[Codepen](https://codepen.io/jskrtivy-the-animator/pen/PoMGWoq?editors=0010)|
|10|ABow_Chen|[Codepen](https://codepen.io/fred39392001/pen/dyxpNYE)|
|11|kaka_945|[Codepen](https://codepen.io/kay945/pen/gOVwgra)|
|12|Tatsu| [CodePen](https://codepen.io/chindesu0207/pen/ExqgZZO) | 
|13|Dolce_墨| [CodePen](https://codepen.io/DolceTseng1026/pen/rNXMjwZ) | 
|14|雪粒| [CodePen](https://codepen.io/bzykdfhw-the-bashful/pen/ExqgZwG) | 
|15|.tszying| [CodePen](https://codepen.io/bekgnohe-the-selector/pen/bGXwgoW?editors=0010) | 
|16|ab567ab5| [CodePen](https://codepen.io/WanTzu-Chiang/pen/qBeaRPG?editors=0011) | 
|17|jerry_66983| [CodePen](https://codepen.io/Barry-C/pen/gOVwgdg) | 
|18 |Ariel| [CodePen](https://codepen.io/ariel0510/pen/MWNjJPq?editors=0011) |
|19 |Lotte| [CodePen](https://codepen.io/hmkdoxuj-the-decoder/pen/oNKzBZr) |
|20 |Mike| [CodePen](https://codepen.io/mike2049/pen/qBearEO?editors=0012) |
| 21 | a1phaki(小k) | [CodePen](https://codepen.io/a1phaki/pen/qBearNb) | 
| 22 | leoli35 | [CodePen](https://codepen.io/ziku10121/pen/BaXLRBM) | 
| 23 | Ellie | [CodePen](https://codepen.io/Ellie-Chiang/pen/ExqgmxZ) | 
|  24   |   610    | [CodePen](https://codepen.io/YI-LING-LIU/pen/ZEgpKaL) | 
|  25   |  mercury2508.   | [CodePen](https://codepen.io/Mercury2508/pen/xxvEdGr) |
| 26 | Hedwig | [CodePen](https://codepen.io/adirehfz-the-encoder/pen/jOgMmXM) | 
|27|邵|[Codepen](https://codepen.io/ukscrlno-the-typescripter/pen/OJKRgMM?editors=0011)|
|28|zobody|[Codepen](https://codepen.io/Zoe-Shih/pen/XWvjpax)|
|29|Kaya|[Codepen](https://codepen.io/kayaribi/pen/qBeaXLr)|
|30|brucelee0629|[Codepen](https://codepen.io/xxhdklwi-the-decoder/pen/ZEgpXYQ?editors=0011)|
|31|陳睿睿|[CodePen](https://codepen.io/uwmrsusb-the-solid/pen/xxvEPJN?editors=0010)|
|32|jimmy.0706|[Codepen](https://codepen.io/JimmyMao/pen/GRVjyjv?editors=0012)|
|33|yuyuhunter_0509|[Codepen](https://codepen.io/KRcube/pen/XWvjVEb?editors=0011)|
| 34 | Mos |[Codepen](https://codepen.io/mos25399/pen/XWvjMqm?editors=0010)|
|  35 |  Celine     | [CodePen](https://codepen.io/szuning/pen/xxvEWOQ) | 
|  36 |  ycl325.etheddie     | [CodePen](https://codepen.io/wdvikfuz-the-selector/pen/jOgMBad) | 
|  37 |  yuling    | [CodePen](https://codepen.io/yu-ling-peng/pen/RwXGMjP?editors=0011) | 
|  38 |  野鴿    | [CodePen](https://codepen.io/HoshinoSyouta/pen/poMEVzO?editors=0010) | 
|  39 |  JRz    | [CodePen](https://codepen.io/JRZHENG/pen/RwXGyKV?editors=1111) | 
|  40  |  JIA     | [CodePen](https://codepen.io/nzaicwlw-the-styleful/pen/gOVwjOO?editors=0010) | 
|  41  |  Sonia     | [CodePen](https://codepen.io/YUJOU/pen/PoMGBEz?editors=0011) | 
|  42  | 毛巾 | [CodePen](https://codepen.io/bqdcjboa-the-solid/pen/eYqdxYJ) | 
| 43 | ABOOS | [CodePen](https://codepen.io/guhungyin/pen/xxvEMej?editors=0012) | 
|  44  |   蘑菇星星    | [CodePen](https://codepen.io/brrrieon-the-vuer/pen/qBeaggK?editors=0012) | 
| 45 | Ruby | [CodePen](https://codepen.io/xivgaijl-the-selector/pen/rNXMbOb) |
| 46 | 倫倫 | [CodePen](https://codepen.io/f5badapple/pen/NWQRZRR?editors=0010) |
| 47 | KOMATSU PEI | [CodePen](https://codepen.io/Komatsu2021/pen/PoMGgvB?editors=0010) |
| 48   | jing6408 | [CodePen](https://codepen.io/qqjuyjat-the-builder/pen/YzmGmwW)  |
|  49  |    KUN.   | [CodePen](https://codepen.io/barry91205/pen/poMNzrj) |
|  50  |    Rogan   | [CodePen](https://codepen.io/RoganHsu/pen/VwomLXB?editors=1111) |
|  51  |    haojing   | [CodePen](https://codepen.io/hjxu/pen/RwXoGPG) |
|  52  |anderson666| [CodePen](https://codepen.io/goodmanbuild/pen/ZEgBJwg) |
|  53  |  陳小廷   | [CodePen](https://codepen.io/ting1124/pen/abeBwYQ) | 
|  54  |  是在哈囉   | [CodePen](https://codepen.io/miyxdhem-the-solid/pen/yLmVzGJ?editors=1111) | 
|  55  |   yuyeh_1212   | [CodePen](https://codepen.io/yuyeh1212/pen/OJKbzgx) |
|  56  |   孫夜空    | [CodePen](https://codepen.io/sunnight0802/pen/GRVNyVQ?editors=1010) |
|  57  |   joylu0902    | [CodePen](https://codepen.io/joylu0902/pen/GRVNzKQ) |
|  58  |  alec1203     | [CodePen](https://codepen.io/soloayaya/pen/poMNQma?editors=1112) | 
|  59  |    Emma   | [CodePen](https://codepen.io/Emma0919/pen/jOgyvGZ) | 
|  60  |    charlottelee   | [CodePen](https://codepen.io/char849/pen/VwoPqrL) |
|  61  |   chris    | [CodePen](https://codepen.io/chris-chen-the-selector/pen/OJKWqLq?editors=0010) |
|  62  |   david1819    | [CodePen](https://codepen.io/David-Lin-the-vuer/pen/dyxNLVP) | 
|  63  |   CrystalLala    | [CodePen](https://codepen.io/crystallala/pen/bGXqVXe) | 
|  64  |   yoishere    | [CodePen](https://codepen.io/yoishere/pen/dyxvKXX) | 
|  65  |   Ed Huang    | [CodePen](https://codepen.io/yide1986/pen/QWepROZ) | 
|  66  |   嚼勁先生    | [CodePen](https://codepen.io/James520284/pen/xxvqNgb) |
|  67  | Glen_69515 | [CodePen](https://codepen.io/glenyaochih/pen/vYoxwJm?editors=1111) |
|  68  | yu | [CodePen](https://codepen.io/yu_ch12/pen/jOgmWXY) |
|  69  | xiang | [CodePen](https://codepen.io/XIANG-XIANG/pen/xxvdmVj?editors=0010) |
|70|Avis|[CodePen](https://codepen.io/avisstian/pen/OJKmaLE?editors=1010)|
|71|Jim|[CodePen](https://codepen.io/JimChou/pen/MWNvjye?editors=0011)|
|72|Kasie|[CodePen](https://codepen.io/KasieL/pen/Vwozrrb?editors=0010)|
|73|Seris|[CodePen](https://codepen.io/Dale-Chien/pen/wvVqNaM)|
| 74 | Ana | [Codepen](https://codepen.io/Ana-Wu/pen/rNXGvqy?editors=0011) |
| 75 | yaoling.liang | [Codepen](https://codepen.io/Yao-Ling-L-/pen/dyxVqJd?editors=1012) |
|76|ollie|[CodePen](https://codepen.io/daiyy97/pen/ZEgaqee?editors=0010)|
|77|iamcan|[CodePen](https://codepen.io/uhnxswdq-the-typescripter/pen/RwXJwgY)|
|77|zen|[CodePen](https://codepen.io/zen742937/pen/jOgpPbY?editors=1111)|
|78|地瓜|[CodePen](https://codepen.io/huangtzuchin/pen/qBeymVB)|
|79|Nocab Wang ( 培根 )|[CodePen](https://codepen.io/PeihanWang/pen/RwXqYJy?editors=0011)|
|80|Kim|[CodePen](https://codepen.io/kim0101__/pen/NWQeRem?editors=0010)|
|81|Amy(咂摳)|[CodePen](https://codepen.io/nnxucgmc-the-builder/pen/vYobbdr?editors=0010)| 
|82|Vivian|[CodePen](https://codepen.io/vivian-hsiao/pen/BaXXdpg)| 
| 83 | Toung | [CodePen](https://codepen.io/Toung/pen/emOmRwX)
|84|ji3di|[Codepen](https://codepen.io/jwuuhtxh-the-builder/pen/gbYpQyM?editors=0010)|
|85|Satar|[Codepen](https://codepen.io/SatarKuo/pen/xbKgVgz?editors=0010)
|86|Chuang|[Codepen](https://codepen.io/uidoytjq-the-solid/pen/MYgEgVM?editors=0010)
|87|Anna|[Codepen](https://codepen.io/Anna-Teng/pen/wBBjrvX?editors=1111)
<!-- 可複製下方格式
|    |       | [CodePen]() | 
-->