---
# System prepended metadata

title: "\U0001F3C5 Day 06 - 比較運算子"
tags: [JS 直播班 - 2022 秋季班]

---

---
tags: JS 直播班 - 2022 秋季班
---
# 🏅 Day 06 - 比較運算子

### 題目
以下題目請合併為一份 CodePen 繳交，並透過「註解」進行回答。
看完此文章「[比較運算子](https://developer.mozilla.org/zh-TW/docs/Web/JavaScript/Guide/Expressions_and_Operators#%E6%AF%94%E8%BC%83%E9%81%8B%E7%AE%97%E5%AD%90)」的部分，並試著回答以下程式碼 console.log 的結果。

問題
---
```javascript=
let a = 1;
let b = 2;
let c = "1";

// 1. 
console.log(a > b);

// 2.
console.log(a == c);

// 3. 
console.log(a != b);

// 4.
console.log(a !== c);

// 5.
console.log(a >= c);

```

## 回報流程

將答案寫在 CodePen 並複製 CodePen 連結貼至底下回報就算完成了喔! 

解答位置請參考下圖（需打開程式碼的部分觀看）

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

<!-- 解答：

1. false
2. true
3. true
4. true
5. true

-->




回報區
---


|       Discord        |                                  CodePen / 答案                                  |
|:--------------------:|:--------------------------------------------------------------------------------:|
|      瑋慶#2480       |    [Codepen](https://codepen.io/htzwgoqt-the-looper/pen/WNJLbgZ?editors=1010)    |
|     嗶嗶羊#8042      | [Codepen](https://codepen.io/mazizlte-the-typescripter/pen/jOxQqQg?editors=0011) |
|     CloThEs#7837     |                [Codepen](https://codepen.io/CloThEsZ/pen/RwyqWez)                |
|   出事了阿伯#9923    |        [Codepen](https://codepen.io/BradpittLai/pen/XWqymxZ?editors=1010)        |
|     KC_8685#9343     |               [Codepen](https://codepen.io/cathy7411/pen/MWGzaLv)                |
|    Hironaka#7367     |       [Codepen](https://codepen.io/Hironaka0815/pen/mdLQegb?editors=0010)        |
|      Ohno#1144       |         [Codepen](https://codepen.io/mmaa7850/pen/JjveYma?editors=1111)          |
|       VT#0895        |                 [Codepen](https://codepen.io/vt197/pen/poVQjmw)                  |
|      末次#0236       |                [Codepen](https://codepen.io/yunjulee/pen/LYmXpwq)                |
|      艸良#2846       |              [Codepen](https://codepen.io/momoninainai/pen/oNdQbvO)              |
|      JackC#0411      |                [Codepen](https://codepen.io/key0329/pen/WNJYrvp)                 |
|     Joy1712#4670     |          [Codepen](https://codepen.io/Joy1712/pen/LYmXGVv?editors=1011)          |
|      鑫鑫#4346       |         [CodePen](https://codepen.io/Neil1024/pen/poVQgwL?editors=0011)          |
|    JustinLiu#9699    |        [CodePen](https://codepen.io/justin0227/pen/MWGzKoX?editors=0011)         |
|     Benson#6763      |                [Codepen](https://codepen.io/kumashow/pen/eYrQJao)                |
|      小白#2406       |               [CodePen](https://codepen.io/gracewhite/pen/xxjQZLe)               |
|     cotton#7163      |          [CodePen](https://codepen.io/cottonT/pen/MWGzywR?editors=0010)          |
| charlottelee849#0366 |       [CodePen](https://codepen.io/charlotte-lee/pen/VwxVaLm?editors=0011)       |
|       YC#2522        |                  [CodePen](https://codepen.io/YCLu/pen/poVQyEY)                  |
|      Cliff#4606      |               [Codepen](https://codepen.io/Cliff_hex/pen/QWrJyQa)                |
|      yawun#0042      |               [CodePen](https://codepen.io/monicalin/pen/mdLQPRq)                |
|    StellaHsu#2687    |       [CodePen](https://codepen.io/stella950114/pen/GRdwZWy?editors=0010)        |
|      azami#5986      |                 [CodePen](https://codepen.io/azami/pen/BaxGKWV)                  |
|      Rice#8043       |         [CodePen](https://codepen.io/riecball/pen/oNdQxoW?editors=1011)          |
|      Clara#1275      |                [CodePen](https://codepen.io/bsupixqu/pen/LYmXZPO)                |
|   jackson204#6363    |        [CodePen](https://codepen.io/jackson204/pen/eYrQzOz?editors=1111)         |
|     CofCat#9226      |         [CodePen](https://codepen.io/cofcat456/pen/wvjQWBb?editors=1111)         |
|       LQQ#4187       |                [CodePen](https://codepen.io/bsupixqu/pen/LYmXZPO)                |
|   0xWilliam #8796    |       [CodePen](https://codepen.io/0xWilliam0322/pen/JjveKbM?editors=0010)       |
|      圈圈#4060       |           [Codepen](https://codepen.io/wjejfczn-the-bold/pen/PoexzOM)            |
|      教練#6451       |             [CodePen](https://codepen.io/monkeybear721/pen/GRdwqya)              |
|    RyanTsai#8906     |                [CodePen](https://codepen.io/linlaose/pen/bGMQeLd)                |
|      Data#9297       |               [CodePen](https://codepen.io/kirakira72/pen/KKRrMog)               |
|      k.sin#3115      |          [CodePen](https://codepen.io/sin588/pen/jOxQrpM?editors=0010)           |
|      無名#6427       |          [CodePen](https://codepen.io/Nomoney/pen/VwxVjBg?editors=0010)          |
|   Shalina123#3090    |               [CodePen](https://codepen.io/shalina123/pen/LYmXZMX)               |
|       cbs#9007       |                 [CodePen](https://codepen.io/wasdjk/pen/zYjMKYL)                 |
|   jacky010080#0880   |       [CodePen](https://codepen.io/Yen-Jung-Chen/pen/qBYQaEg?editors=0010)       |
|      yoyo#1003       | [CodePen](https://codepen.io/crpbugqy-the-typescripter/pen/MWGzjJV?editors=1111) |
|       威0#6919       |        [Codepen](https://codepen.io/n0918679182/pen/WNJYGOE?editors=0012)        |
|    shinyhung#3825    |         [Codepen](https://codepen.io/sean_1215/pen/vYjQXJN?editors=1111)         |
|   Yuna Huang#2692    |         [Codepen](https://codepen.io/Yuna1002/pen/wvjQzxq?editors=0010)          |
|       Fan#3405       |                 [Codepen](https://codepen.io/Fan123/pen/LYmXRJE)                 |
|    suihsilan#9485    |         [Codepen](https://codepen.io/suihsilan/pen/qBYQaJB?editors=0010)         |
|   勁辣雞腿寶#5817    |         [Codepen](https://codepen.io/orz311013/pen/qBYQaQB?editors=0010)         |
|     yoshidc#0455     |                [CodePen](https://codepen.io/yoshiyyc/pen/LYmXRXE)                |
|   Sunny Cheng#4113   |         [CodePen](https://codepen.io/Sunny0509/pen/OJZaRBg?editors=1011)         |
|     Hazel.#6020      |        [CodePen](https://codepen.io/Hazelhsieh/pen/KKRrgxe?editors=0010)         |
|     心幻羽#0056      |        [CodePen](https://codepen.io/linglingsyu/pen/zYjMKeQ?editors=1112)        |
|      PoWei#8484      |            [CodePen](https://codepen.io/harrison-wei-lai/pen/RwyqGdo)            |
|      yumy#1940       |               [CodePen](https://codepen.io/yumy_yamg/pen/wvjQogX)                |
|       yen#5757       |             [CodePen](https://codepen.io/TZU-HUANG-YEN/pen/oNdPgqY)              |
|       Lou#0085       |          [CodePen](https://codepen.io/Lusie_H/pen/JjvebyR?editors=0010)          |
|      Ayre#0016       |        [Codepen](https://codepen.io/yichunlin09/pen/rNvQWYa?editors=0010)        |
|     艾芮絲#6060      |               [Codepen](https://codepen.io/wangyingju/pen/eYrQBjN)               |
|      蓁心#6229       | [Codepen](https://codepen.io/tlorfrnl-the-typescripter/pen/dyeQOqV?editors=1011) |
|     pidder#7315      |          [Codepen](https://codepen.io/liaoben/pen/eYrQBQp?editors=1111)          |
|    beta lin#1445     |                [CodePen](https://codepen.io/linbeta/pen/KKRrNyY)                 |
|     IreneY#0086      |           [codepen](https://codepen.io/HalfPlannedJourney/pen/xxjQgGL)           |
|       XYY#2630       |               [codepen](https://codepen.io/Xing-Ying/pen/poVQRjj)                |
|     PayRoom#8328     |               [codepen](https://codepen.io/water38198/pen/BaxGppg)               |
|   KatyChiang#1554    |                [codepen](https://codepen.io/Kai0819/pen/MWGzJmb)                 |
|   poetry1933#2713    |               [codepen](https://codepen.io/poetry1932/pen/rNvQjrG)               |
|    hannahTW#2224     |               [codepen](https://codepen.io/hangineer/pen/JjveGaP)                |
|     哈囉哈#5196      |        [CodePen](https://codepen.io/bill0841205/pen/OJZaWBP?editors=1111)        |
|    jamesccc#6244     |          [CodePen](https://codepen.io/nimwnynv-the-sasster/pen/zYjMZrJ)          |
|     魚子醬#5220      |                [CodePen](https://codepen.io/haihsuan/pen/QWrJpxQ)                |
|     SASIMI#5099      |               [Codpen](https://codepen.io/sashimi1327/pen/eYrLWaR)               |
|     AuroraC#6539     |          [codepen](https://codepen.io/AuroraC/pen/MWGzpxz?editors=0010)          |
|    Sonia Wu#7154     |                 [codepen](https://codepen.io/YUJOU/pen/yLjQMQx)                  |
|    mandylai#4055     |        [codepen](https://codepen.io/mandy-lai-2/pen/BaxGWgm?editors=1010)        |
|   Sentiments#4883    |        [codepen](https://codepen.io/Sentiments/pen/gOzQWOx?editors=0010)         |
|    banazita#5143     |         [CodePen](https://codepen.io/banazita/pen/vYjQmEg?editors=1111)          |
|      雷雷#7844       |        [CodePen](https://codepen.io/lei-yi-jie/pen/ZEomeRq?editors=0010)         |
|      Chung#5951      |                 [CodePen](https://codepen.io/yuju16/pen/xxjQdYE)                 |
|     黃士桓#7654      |             [codePen](https://codepen.io/shr-huan-huang/pen/MWGzmBW)             |
|     黑白兔#0684      |               [codePen](https://codepen.io/johnny329/pen/JjveJdr)                |
|       富#0389        |              [codePen](https://codepen.io/spring40747/pen/YzLRQxJ)               |
|     肉桂卷#0625      |          [codePen](https://codepen.io/ginnlee/pen/yLjQJOO?editors=0011)          |
|     bingsu#2362      |           [codePen](https://codepen.io/pmyfr/pen/mdLQwxg?editors=0010)           |
|       mou#2215       |              [codePen](https://codepen.io/shihchiehlan/pen/poVQwqe)              |
|      kuku#3118       |        [codePen](https://codepen.io/mengting-ku/pen/GRdwvRg?editors=0012)        |
|     黑松胖#4836      |      [CodePen](https://codepen.io/yi-chien-hsieh/pen/RwyqZaw?editors=0012)       |
|      Loran#1105      |        [CodePen](https://codepen.io/bill0841205/pen/OJZaWBP?editors=1111)        |
|      萱仔#0781       |               [CodePen](https://codepen.io/ting-hsuan/pen/vYjQJrL)               |
|       lee#0546       |        [Codepen](https://codepen.io/barrylee85/pen/yLjQzBQ?editors=0011)         |
|   xherobruce#6825    |              [Codepen](https://codepen.io/winwinbruce/pen/rNvQGjB)               |
|      竹輪#3335       |              [Codepen](https://codepen.io/chikuwa0120/pen/QWrJqqz)               |
|     Mia小福#4473     |                [Codepen](https://codepen.io/a0950271/pen/VwxVMVr)                |
|       YI#0863        |          [Codepen](https://codepen.io/YI0305/pen/jOxQGRg?editors=0012)           |
|    泰泰泰泰#0582     |   [Codepen](https://codepen.io/tesdzzph-the-bashful/pen/yLjQveZ?editors=0010)    |
|     hungya#0773      |         [Codepen](https://codepen.io/hungya777/pen/PoexRRr?editors=0011)         |
|    kenki100#0068     |                 [codepen](https://codepen.io/ken100/pen/WNJYaqB)                 |
|      Kimi #9564       |                [codepen](https://codepen.io/kimihu91/pen/Vwdwgyb)                |
|    Daisy Li #4231    |    [CodePen](https://codepen.io/lidairong-gmail-com/pen/dyeQgxZ?editors=0012)    |
|     WEI_RIO#9342     |          [codepen](https://codepen.io/wei_wu/pen/qBYQQNV?editors=0011)           |
|      Peng#9811       |         [Codepen](https://codepen.io/peng-027/pen/vYjQQXa?editors=1010)          |
|       Wei#2330       |       [Codepen](https://codepen.io/ixfjxrbo-the-typescripter/pen/YzLRRWv)        |
|      Velma#1693      |          [ CodePen](https://codepen.io/Ze1225/pen/GRdwwOe?editors=0010)          |
|    LHchien33#6232    |         [codepen](https://codepen.io/lin_chien/pen/OJZaaxY?editors=0010)         |
|     楓之聲#6945      |               [Codepen](https://codepen.io/sshane258/pen/KKRrrZz)                |
|      Hilda#7085      |           [Codepen](https://codepen.io/vwquikad-the-vuer/pen/poVQQZE)            |
|      母湯#7211       |        [Codepen](https://codepen.io/tommyshih77/pen/xxjavYb?editors=0011)        |
|      狸貓#5863       |               [Codepen](https://codepen.io/tanuki320/pen/NWMEEox)                |
|   hsiung阿熊#4079    |               [Codepen](https://codepen.io/hsiungchi/pen/wvjQQZK)                |
|      威爾#1694       |                [CodePen](https://codepen.io/WILL_Wu/pen/zYjMyKL)                 |
|      Greta#0837      |                [Codepen](https://codepen.io/gretali/pen/poVQqdp)                 |
|      homer#1525      |                [Codepen](https://codepen.io/Buckhorn/pen/dyeQwKy)                |
|     王懷英#7271      |                [Codepen](https://codepen.io/huaiying/pen/JjvexbY)                |
|    AmberWang#2504    | [Codepen](https://codepen.io/dmpjhhtt-the-typescripter/pen/poVQGPG?editors=0010) |
|   William Lai#0196   |               [Codepen](https://codepen.io/lai-weihan/pen/gOzQqRX)               |
|     法希娜#3206      |          [Codepen](https://codepen.io/yiiserpf-the-encoder/pen/zYjMedx)          |
|     Eileen#6454      |               [Codepen](https://codepen.io/Eileen-io/pen/oNdQmRe)                |
|    Potatolee#7749    |        [Codepen](https://codepen.io/potatoleee/pen/ZEomwqE?editors=0010)         |
|      柔柔#1716       |          [Codepen](https://codepen.io/rouchen/pen/NWMEJqV?editors=1112)          |
|    我是泇吟#5189     |                [CodePen](https://codepen.io/kljuqbxs/pen/VwxVWXV)                |
|    jin.huang#4666    |                                   [CodePen]()                                    |
|      Yiru#0236       |          [Codepen](https://codepen.io/yiru94/pen/eYrxNVo?editors=0010)           |
|    jin.huang#4666    |         [Codepen](https://codepen.io/haha1196/pen/poVQYab?editors=1010)          |
|     AkiHico#9239     |          [Codepen](https://codepen.io/akihico/pen/qBYQvoo?editors=1010)          |
|    Azi Hsieh#2861    |                [CodePen](https://codepen.io/AziHsieh/pen/RwyqEKw)                |
|      Baozi#2042      |               [CodePen](https://codepen.io/lillianyu/pen/MWGzxLm)                |
|      amy芳#1385      |               [CodePen](https://codepen.io/amy-chieng/pen/VwxVRRq)               |
|     sophiee#6015     |        [Codepen](https://codepen.io/sophiee2727/pen/LYmXoPV?editors=0010)        |
|      Lucie#3831      |                [CodePen](https://codepen.io/bisespei/pen/zYjMXQX)                |
|      Rena#6249       |              [CodePen](https://codepen.io/aureate0116/pen/MWGzdYZ)               |
|      ssozr#4680      |           [codepen](https://codepen.io/ssozr/pen/OJZabXQ?editors=0010)           |
|     hayaka#4579      |          [CodePen](https://codepen.io/CocoCat/pen/qBYLWGr?editors=1010)          |
|     Chiang#6649      |      [codepen](https://codepen.io/ryanchiang/pen/MWGzOWK?editors=0012Ryan)       |
|      健育#5748       |                [codepen](https://codepen.io/c1317156/pen/RwyENWX)                |
|   Cynthia1111@1822   |        [codepen](https://codepen.io/Cynthia1111/pen/zYjyxKa?editors=0010)        |
|    Silvialu#4521     |              [codepen](https://codepen.io/Silvia091640/pen/VwxqYbJ)              |
|       VK#6657        |                  [codepen](https://codepen.io/VKCS/pen/KKRbwoy)                  |
|    Nini Chen#5790    |         [codepen](https://codepen.io/ninistyle/pen/XWqoJGO?editors=0010)         |
|    Judy Wei#6103     |                [Codepen](https://codepen.io/Judy0718/pen/VwxqvOq)                |
|       朧.#9548       |      [Codepen](https://codepen.io/crushing_omega/pen/jOxXWPy?editors=1010)       |
|      Ringo#7583      |       [Codepen](https://codepen.io/ringolai1988/pen/bGMOpVa?editors=0010)        |
|     J_u_d_y#5993     |          [Codepen](https://codepen.io/J_u_d_y/pen/ExLGPrM?editors=1010)          |
|   ling chang#1024    |               [Codepen](https://codepen.io/ling-chang/pen/WNJLwpy)               |
|      Shuo#1596       |      [Codepen](https://codepen.io/chiangchungshuo/pen/ExLGNzK?editors=1010)      |
|    山貓(焜)#7041     |                 [Codepen](https://codepen.io/nopeta/pen/VwxqVGd)                 |
|     Mylène#2481      |              [Codepen](https://codepen.io/hamajibashi/pen/ExLGraM)               |
|   VickyHuang#2918    |           [Codepen](https://codepen.io/HSUNA/pen/GRdPzEm?editors=0010)           |
|     yuling#1634      |                [codepen](https://codepen.io/igzdflpu/pen/KKRbEMO)                |
|      RuoAn#7124      |         [codepen](https://codepen.io/LiauRuoAn/pen/RwyEOeN?editors=0010)         |
|      大大#5164       |    [codepen](https://codepen.io/gzonothk-the-looper/pen/rNvPVQX?editors=0010)    |
|      維尼#2200       |   [codepen](https://codepen.io/gxvzprtq-the-selector/pen/rNvopbq?editors=0010)   |
|     Milvii#7341      |              [Codepen](https://codepen.io/Monstertroll/pen/qBYLpPg)              |
|     FiReBrO#0557     |               [Codepen](https://codepen.io/firebro42/pen/KKRJMew)                |
|      Cream#3449      |   [Codepen](https://codepen.io/frxdwbbi-the-sasster/pen/dyeaRNz?editors=1011)    |
|     毛毛雨#2242      |          [Codepen](https://codepen.io/em-lee/pen/eYrxEbM?editors=1010)           |
|     Evelyne#7323     |                [Codepen](https://codepen.io/Evelynep/pen/dyeaVBO)                |
| Rr#2215              |               [Codepen](https://codepen.io/rufangcheng/pen/xxjMoEV)                                                                   |
|      阿修#9176       |                [Codepen](https://codepen.io/xiu-tong/pen/QWrYREq)                |
|      annanna#6011       |                [Codepen](https://codepen.io/annaprosty/pen/abGMoRe)                |
|      Karen Chan#4625       |                [Codepen](https://codepen.io/ruruchan7/pen/Jjvqbra)                |
|      Paul#7426       |                [Codepen](https://codepen.io/paul-1997/pen/OJZKMEZ?editors=0010)                |
|mei#8421|[Codepen](https://codepen.io/Shila-Chen/pen/qBKWVXM?editors=0011)|
|阿蘇#8531|[Codepen](https://codepen.io/susu3131/pen/JjZjKJL?editors=0010)|
|ViNci#4273|[Codepen](https://codepen.io/ViNciSyo/pen/BaVamqy)|
|DoraHuang#8223|[Codepen](https://codepen.io/mwebwvuq-the-flexboxer/pen/QWxWvyZ)|
|How#58-06|[Codepen](https://)|
|christina#6185 |[Codepen](https://codepen.io/chrisc0210/pen/gOKOEaQ)|
|Jamie Wu#9345|[Codepen](https://codepen.io/Wu220103/pen/poKoMrd)|
|meimei#9524|[Codepen](https://codepen.io/isnrudav/pen/jOKLbYX?editors=1011)|
|yaru#6308|[Codepen](https://codepen.io/lszaietc/pen/yLjrWRp?editors=1011)|
