---
# System prepended metadata

title: "\U0001F3C5 Day 12"
tags: [Vue 直播班 - 2022 春季班]

---

---
tags: Vue 直播班 - 2022 春季班
---

# 🏅 Day 12
###### tags: `Vue 直播班 - 2022 春季班`

參考文章: https://wcc723.github.io/development/2020/09/20/js-semi/

題目 (直接貼上答案)
---
1. 請修正以下程式碼錯誤，並執行 console.log
2. 請嘗試說明以下程式碼錯誤的原因

```js=
let saySomething = '小姐一個人嗎 :D'
(function() {
  console.log(saySomething);
})
```


回報流程
---
請同學依照下圖教學觀看解答、回報答案:

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

回報格式如下圖，請在「回報區」使用註解回報答案 (為了統計人數，請同學依序加上「報數」)

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

<!-- 解答

1. 應該更正為: 
let saySomething = '小姐一個人嗎 :D'
;(function() {
  console.log(saySomething);
})()

2.
a. 使用立即函式需要在結尾的部分加入一組 () 才會正確執行。
b. 由於題目的 JS 程式碼在運行時會被視為同一行，如下: 

let saySomething = '小姐一個人嗎 :D'(function() {console.log(saySomething);})

如果要避免此錯誤就需要使用分號將其隔開。
-->

回報區
---
| 報數 |組別/名字  | codepen / 其他回饋    | 
|:--------:| -------- | -------- | 
|1|CloThEs | https://codepen.io/bogwdnxx-the-sans/pen/xxXydmW|
|2|Aaron Tu|https://codepen.io/aarontu/pen/JjrmNzZ|
|3| Larry | https://codepen.io/larrylinr5/pen/abLRWxY?editors=1011 |
|4| Iris Huang | https://codepen.io/ythuang/pen/XWexRvV |
|5| Wenfish | https://codepen.io/wenfisht/pen/VwMEWZg 
|6| 肉鬆 | https://codepen.io/klrkicog/pen/abLRwdj?editors=1011 |
|7| POPEYE | https://codepen.io/popeye_ux/pen/PoJyjGP|
|8|dOvOb|https://codepen.io/gezzgrwj-the-styleful/pen/mdBzwVb?editors=0011
|9| Arista | https://codepen.io/arista-hsieh/pen/VwMEWyZ|
|10| Yof | https://codepen.io/yangyof/pen/mdBGgNj?editors=1011 |
|11|Scottie|https://codepen.io/wow767t/pen/ExwdXoO?editors=1111 |
|12|Empty Wu|https://codepen.io/emptywu/pen/gOGBRor |
|13|kevinhes|https://codepen.io/kevinhes/pen/OJxBgwb?editors=0012 |
|14|有廖先生(Rain)|https://codepen.io/billpop741/pen/xxXyrae |
|15|Charlotte Lee|https://codepen.io/charlotte-lee/pen/PoJyjyb?editors=0010 |
|16|Howard|https://codepen.io/yawdnhbm/pen/KKXGqQy |
|17|Gill|https://codepen.io/Gill-Chin/pen/NWaOgEv?editors=1011 |
|18|威爾|https://codepen.io/WILL_Wu/pen/yLzRoLx|
|19|Jhen|https://codepen.io/cheng-jhen/pen/PoJyKJE |
|20| Kelvin Hsu | https://codepen.io/kelvin001/pen/oNGaemW?editors=1111 |
|21| Laura | https://codepen.io/minminn/pen/gOGBxKv |
|22| Yunei | https://codepen.io/Yunei/pen/yLzRoWB |
|23| Bella Shya | https://codepen.io/BellaXie/pen/vYeVeBd?editors=0010 |
|24|Terry21|https://codepen.io/feng0409/pen/eYGPGNJ?editors=0012 |
|25|Izumi 泉|https://codepen.io/izumi-dev/pen/VwMEMyB|
|26|群嘉|https://codepen.io/efzdamnp-the-lessful/pen/poWxWVy?editors=1111|
|27|John|https://codepen.io/jiangshuuu/pen/NWaXXWb
|28|Henry Wu|https://codepen.io/dkcmlaww-the-flexboxer/pen/gOGBXpO?editors=0012
|29|kk|https://codepen.io/potatokaka/pen/yLzRPOo?editors=0011|
|30|Judy ☻|https://codepen.io/hsiaohan/pen/BawqmpK?editors=0010|
|31|我是泇吟|https://codepen.io/kljuqbxs/pen/ExwdbZp|
|32| 黃士桓 | https://codepen.io/shr-huan-huang/pen/bGomYrB?editors=0010 |
|33|Dobe|https://codepen.io/lisebee/pen/a11dcbfde01ccdb780cb0e5e1af4d4fa?editors=1011｜
|34|Sheep| https://codepen.io/SheepNDW/pen/abLRVRM |
|35|Tim Lin|https://codepen.io/TimmyLin/pen/vYeVpYK|
|36|祥last|https://codepen.io/jack206418070/pen/OJxBzjz?editors=1111|
|37|Benson|https://codepen.io/soul81624/pen/bGomaOm |
|38|Mylène|https://codepen.io/hamajibashi/pen/KKXGQWw|
|39|yu|https://codepen.io/yuu9916/pen/WNZaMqw?editors=0012|
|40|andersonshen|https://codepen.io/luxyenni-the-bold/pen/wvrYybB |
|41|陳暐中|https://codepen.io/wei-z/pen/bGomvrB?editors=1012 |
|42|Himi|https://codepen.io/Himi/pen/VwMEXdZ|
|43|hua|https://codepen.io/hahahazzz123/pen/zYEmWbe?editors=1111|
|44| Karen Huang| https://codepen.io/Coding_Snorlax/pen/KKXGexz |
|45| shio| https://codepen.io/shioyen/pen/NWaOBqN?editors=1111 |
|46|Rick Tzeng|https://codepen.io/rick917jp6/pen/KKXGeYg
|47|AKI|https://codepen.io/akichen27/pen/XWexBEP |
|48|Jasper|https://codepen.io/li-jasper/pen/vYeVaML |
|49|咖咖| https://codepen.io/gon790219/pen/WNZagmL |
|50|Calon|https://codepen.io/Calon0118/pen/poWxxwJ|
|51|Liu| https://codepen.io/feng-chi-liu/pen/QWqZZOW?editors=1111 |
|52|Yummyniya|https://codepen.io/yummyniya/pen/ExwddOw |
|53|Gui|https://codepen.io/guitimliu/pen/dyVgwXG
|54|柴貓|https://codepen.io/shibacat/pen/gOGBJaj|
|55|Evan Chiang|https://codepen.io/piskesocute/pen/gOGQbqv|
|56|Erin Huang|https://codepen.io/ErinHuang/pen/OJxaVYK|
|57|AllenW|https://codepen.io/AllenW/pen/KKXrVvx|
|58|YC|https://codepen.io/YCLu/pen/eYGQZjB|
|59|Otis|https://codepen.io/humming74/pen/jOGQBYp?editors=1111|
|60|Vicky|https://codepen.io/hyxfish27/pen/xxXQWWa |
|61|Bonnie|https://codepen.io/bonnieli1414/pen/PoJxBKo?editors=0011 |
|62|Henry|https://codepen.io/kaohenry9287/pen/gOGQjNr |
|63|Hedy|https://codepen.io/hhhsuan41/pen/dyVQExe?editors=1111 |
|64|Yuan|https://codepen.io/yuanluo13542/pen/abLQeWr?editors=1010 | 
|65|Jerry|https://codepen.io/rteyfwwd-the-scripter/pen/bGoObEx?editors=1111|
|66|Leo Song|https://codepen.io/sunnylaba/pen/abLPoxw?editors=0010 |
|67|DDDDK|https://codepen.io/dkklee/pen/bGoOMQY|
|68| Steven Chan|https://codepen.io/Steven1220/pen/WNZLjNK |
|69|William_O^2|https://codepen.io/CodingTrain_1/pen/ExwGRJZ|
|70|Anna|https://codepen.io/kycrleao/pen/NWaeLgg?editors=0011|
|71|小K|https://codepen.io/kelen1995/pen/VwMgKeO |
|72|Jason Chen|https://codepen.io/jason60810/pen/BawMQZr 
|73|阿武|https://codepen.io/samwnkyat/pen/jOGdmme |
| 100 | SIhle Huang | https://codepen.io/bugbug777/pen/dyVaQXZ |
|75|mei| https://codepen.io/Shila-Chen/pen/bGoZxNG |
|76|Abbie|https://codepen.io/Abbie0704/pen/dyVLRLd|
|77|FuChang|https://codepen.io/fuchang830714/pen/GRMzKPd|
|78|肉桂卷|https://codepen.io/ginnlee/pen/vYeqENp?editors=0011|
|79|Jerry Yen|https://codepen.io/JerryYen/pen/poWMOjq|
|80|Will|https://codepen.io/pen/?editors=0011|
|81|許敏鑫|https://codepen.io/MIN-HSIN/pen/rNYBxBb|
|82|阿劍| https://codepen.io/seonkuraito/pen/XWeOdwd |
|83|Bruno Yu| https://codepen.io/bruno-yu/pen/oNoNNBm?editors=1111 |
|84|ShaoYu|https://codepen.io/shaoyukao/pen/dyZyrXg|
|85|2/WA|https://codepen.io/ldddl/pen/NWwWpEB|
|86|Riley|https://codepen.io/jjpxbprd/pen/eYemmNj|
|87|JD孟璁|https://codepen.io/oikdkmxq-the-looper/pen/BamoWzy?editors=1112|
|88|andyii|https://codepen.io/gultrotpybyvue/pen/yLPVdKp
|89|Van| https://codepen.io/fbacojji-the-selector/pen/OJOoPmJ?editors=0011 |
|90|大衛|https://codepen.io/exnsrpjc/pen/jOYrZbz?editors=1011 |
|91|Carol Li|https://codepen.io/carolli834/pen/ZEvgmeK|