---
# System prepended metadata

title: "\U0001F3C5 Day 13 - const 特性"
tags: [Vue 直播班 - 2022 冬季班]

---

---
tags: Vue 直播班 - 2022 冬季班
---
# 🏅 Day 13 - const 特性

請觀看此[文章](https://www.casper.tw/javascript/2017/12/20/javascript-es6-let-const/)後回答下方註解問題。

題目
---
```js=
let name = '小明';
const age = 16;
let person = {
  name: '小明',
}
const wallet = {
  money: 1000
}
const dessert = ['cake', 'ice-cream'];

/* 請問以下程式碼哪些會報錯？ */
name = '小美';
age = 17;
person.name = '大明';
wallet.money = 1100;
wallet = {};
dessert.push('fruit');
dessert = ['chocolate'];
```

## 回報流程

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

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

<!-- 解答：  
age = 17;
wallet = {};
dessert = ['chocolate'];
-->




回報區
---


|     Discord     |                                CodePen / 答案                                |
|:---------------:|:----------------------------------------------------------------------------:|
|   Wendy3#5615   |              [Codepen](https://codepen.io/wendy03/pen/dyjGVev)               |
|    威0#6919     |      [codepen](https://codepen.io/n0918679182/pen/MWBKEGM?editors=0012)      |
|    泊岸#3466    |      [codepen](https://codepen.io/qoq77416416/pen/jOpWGxd?editors=0011)      |
|   albee#9121    |      [Codepen](https://codepen.io/albee-chang/pen/VwBeMBW?editors=1112)      |
|    冬天#5215    |              [Codepen](https://codepen.io/winter_/pen/NWBxazO)               |
|     YC#2522     |                [CodePen](https://codepen.io/YCLu/pen/oNMjqYy)                |
|  ChloeLo#4858   |              [Codepen](https://codepen.io/chloelo/pen/BaPjwPP)               |
|  KC_8685#9343   |             [Codepen](https://codepen.io/cathy7411/pen/dyjGVjW)              |
|    yuyu#6310    |       [Codepen](https://codepen.io/yuyu0905/pen/qBybPJq?editors=0011)        |
|    Sean#3825    |       [Codepen](https://codepen.io/sean_1215/pen/dyjGVqW?editors=0011)       |
|    阿榮#8277    |        [CodePen](https://codepen.io/mogzbvfl-the-reactor/pen/wvxMrxE)        |
| PeihanWang#2530 |      [CodePen](https://codepen.io/PeihanWang/pen/abjdLaN?editors=0012)       |
|   黑白兔#0684   |             [CodePen](https://codepen.io/johnny329/pen/OJwMxaw)              |
|    薯餅#3581    |           [Codepen](https://codepen.io/ColdingPoTaTo/pen/NWBxaEe)            |
|    無名#6427    |              [Codepen](https://codepen.io/Nomoney/pen/GRBpxMa)               |
|     popeye      |             [codepen](https://codepen.io/popeye_ux/pen/XWBXeOm)              |
|    大頭#8116    |       [CodePen](https://codepen.io/d22495521/pen/mdjVBaX?editors=1010)       |
|    Fang#4680    |              [Codepen](https://codepen.io/std95174/pen/wvxMrZQ)              |
|  AuroraC#6539   |        [codepen](https://codepen.io/AuroraC/pen/OJwMxeB?editors=1011)        |
| suihsilan#9485  |       [codepen](https://codepen.io/suihsilan/pen/wvxMrLR?editors=0010)       |
|    米米#1824    |     [codepen](https://codepen.io/Jameshsu0407/pen/JjBGrgW?editors=0010)      |
|  hannahTW#2224  |       [codepen](https://codepen.io/hangineer/pen/poZgWBM?editors=1011)       |
|  kenki100#0068  |               [Codepen](https://codepen.io/ken100/pen/vYaLePp)               |
|   心幻羽#0056   |            [Codepen](https://codepen.io/linglingsyu/pen/GRBoOgB)             |
|    威爾#1694    |              [CodePen](https://codepen.io/WILL_Wu/pen/KKBVydP)               |
|    Chi#7605     |              [Codepen](https://codepen.io/YoChi84/pen/jOpWaMO)               |
|     JY#5712     |              [CodePen](https://codepen.io/judy_123/pen/wvxMrOQ)              |
|    Tami#6742    |         [Codepen](https://codepen.io/wqsdqbjn-the-vuer/pen/JjBGOEr)          |
|     bakiii      |               [CodePen](https://codepen.io/aki168/pen/gOjbgWP)               |
|   魚子醬#5220   |              [CodePen](https://codepen.io/haihsuan/pen/dyjGZRe)              |
|    yoyo#1003    |                  [CodePen](https://codepen.io/pen/BaPjmRE)                   |
|   Cheryl#4007   |      [Codepen](https://codepen.io/Cheryl-Hsu/pen/JjBGOyO?editors=0012)       |
| LHchien33#6232  |             [Codepen](https://codepen.io/lin_chien/pen/vYaLWJz)              |
|  LinaChen#1796  |              [Codepen](https://codepen.io/LinaChen/pen/NWBxwwK)              |
|    Alex#9978    | [Codepen](https://codepen.io/datsxzqg-the-selector/pen/PoBZOOg?editors=0011) |
|  mandylai#4055  |            [Codepen](https://codepen.io/mandy-lai-2/pen/abjdVBW)             |
|yaru#6308|[CodePen](https://codepen.io/lszaietc/pen/wvxMPyV?editors=1011)|
|int#7518|[Codepen](https://codepen.io/intHuang/pen/KKBVyBz?editors=0011)|
|RyanC#6960|[Codepen](https://codepen.io/RyanYD/pen/KKBVybg?editors=0011)|
|Kimi#9564|[CodePen](https://codepen.io/kimihu91/pen/xxJwjGm)|
| Potatolee#7749 |[CodePen](https://codepen.io/potatoleee/pen/vYaLWzv?editors=1111)|
| christina#6185 |[Codepen](https://codepen.io/chrisc0210/pen/oNMboRa)|
| jimmyFang#9575 |[Codepen](https://codepen.io/pohxiqqo/pen/yLqepLb?editors=1010)|
| Hilda#7085 |[Codepen](https://codepen.io/vwquikad-the-vuer/pen/BaPjJLK)|
| helena#8461 |[Codepen](https://codepen.io/helena27/pen/bGjEaBw)|
|RJRS#9430|[CodePen](https://codepen.io/RJRS/pen/dyjGJKb)|
|Rena#6249|[CodePen](https://codepen.io/aureate0116/pen/ZEjQvmM)
|CatBoxy#4207|[CodePen](https://codepen.io/nekoboxy/pen/WNKrXwq)
|RainJ#3480|[CodePen](https://codepen.io/RainJCode/pen/rNrxJOb)|
|AkiHico#9239|[Codepen](https://codepen.io/akihico/pen/gOjPvpW?editors=1010)|
|艸良#2846|[Codepen](https://codepen.io/momoninainai/pen/mdjVXKq?editors=1111)|
|大衛#4869|[Codepen](https://codepen.io/exnsrpjc/pen/yLqevQd?editors=0011)|
|Winnie#1306|[Codepen](https://codepen.io/WinnieWuWinnie/pen/NWBxYxV?editors=0010)|
|How#5806|[Codepen](https://codepen.io/howtobefine/pen/KKBVoaw)|
|Wendy77#8049|[Codepen](https://codepen.io/Wendy__/pen/GRBoQvM)|
|阿沁#8176|[Codepen](https://codepen.io/a8322342/pen/rNrxdpy?editors=0011)|
|kuku#3118|[Codepen](https://codepen.io/mengting-ku/pen/YzjwaLJ?editors=1010)
|小木馬#8760|[Codepen](https://codepen.io/wmmtbcsd/pen/JjBGLZp?editors=0010)|
|Jill Lee#0809|[Codepen](https://codepen.io/chi-ling-lee/pen/oNMbqra?editors=1111)|
|楊苡安 #2752|[hackmd](https://hackmd.io/7eyzK6MkSlmwkjlWx9rJVg)|
|小夜#3809|[Codepen](https://codepen.io/Naito_K/pen/gOjPGje?editors=0011)|
|Eileen#6454|[Codepen](https://codepen.io/Eileen-io/pen/KKBVRJo)|
|Asher Xu#6454|[Codepen](https://codepen.io/kirakira72/pen/gOjPzVg)|
|masterYan#2480|[Codepen](https://codepen.io/htzwgoqt-the-looper/pen/xxJZzVx?editors=1010)|
|rainliao#2616|[Codepen](https://codepen.io/billpop741/pen/OJwMEVj)|
|DIO大人#4776|[Codepen](https://codepen.io/aki168/pen/gOjbgWP)|
|FiReBRO #0557|[Codepen](https://codepen.io/firebro42/pen/RwBrJyZ)|
|jacky010080#0880|[CodePen](https://codepen.io/Yen-Jung-Chen/pen/JjBGZaK?editors=1111)|
|出事了阿伯#9923|[CodePen](https://codepen.io/BradpittLai/pen/qBybyEm?editors=1010)|
|Ruby Chen#7452|[Codepen](https://codepen.io/ruby92429/pen/XWBXBeM?editors=0010)|
|Amberhh#2465|[codepen](https://codepen.io/Amberhh/pen/XWBXevd) |
|xin#1214|[codepen](https://codepen.io/SiaoYao/pen/zYLrJvW) |
|阿鑫#4346| [CodePen](https://codepen.io/Neil1024/pen/zYLrJZa?editors=0011)|
| azami#5986 |[CodePen](https://codepen.io/azami/pen/GRBoXOp)|
|SASIMI#5099|[Codepen](https://codepen.io/sashimi1327/pen/NWBxLXp)|
|yoyo123456#0577|[Codepen](https://codepen.io/hungyoyo/pen/KKBVxoy?editors=0011)|
|柚子#3958|[Codepen](https://codepen.io/as6625998/pen/VwBeGgY?editors=1011)|
|Hironaka#7367|[Codepen](https://codepen.io/Hironaka0815/pen/abjdRwz?editors=0010)|
|Bella_#1587|[Codepen](https://codepen.io/Chen-Bella/pen/OJwMBZv)
|Silvialu#4521|[Codepen](https://codepen.io/Silvia091640/pen/xxJZyJV)
|hungya#0773|[Codepen](https://codepen.io/hungya777/pen/poZgxLY?editors=0010)|
|Austyn#0949|[Codepen](https://codepen.io/fish90547/pen/abjdQqy?editors=0012)|
|Knock59487#9114|[Codepen](https://codepen.io/Zack88/pen/zYLrMQP?editors=1111)|
Zack_P#1805|[Codepen](https://codepen.io/tmzazirh-the-animator/pen/NWBxerr?editors=1011)|
| 圈圈#4060             | [Codepen](https://codepen.io/wjejfczn-the-bold/pen/NWBxewd?editors=0010)    |
| --------------------- | --------------------------------------------------------------------------- |
| Mia小福#4473          | [Codepen](https://codepen.io/a0950271/pen/vYaLvxo)                          |
| sherlin#4587          | [CodePen](https://codepen.io/sherlinKuo/pen/RwBrvmx?editors=1011)           |
| Mylène#2481           | [CodePen](https://codepen.io/hamajibashi/pen/OJwMGJJ)                       |
| ㄚ翔#8126             | [Codepen](https://codepen.io/engineerjohnson/pen/qBybemL?editors=1111)      |
| PH#2731               | [CodePen](https://codepen.io/lokf9527/pen/KKBVOWm)                          |
| Benson#6763           | [CodePen](https://codepen.io/kumashow/pen/NWBNGKe)                          |
| 柔柔#1716             | [Codepen](https://codepen.io/rouchen/pen/bGjpobR?editors=1010)              |
| Hazel.#6020           | [CodePen](https://codepen.io/Hazelhsieh/pen/WNKrZXa?editors=1011)           |
| shiuan#4721           | [CodePen](https://codepen.io/prankaChang/pen/qByZMeG?editors=0010)          |
| hsufengs#2816         | [CodePen](https://codepen.io/feng-sheng-hsu/pen/PoBNVyJ?editors=0010)       |
| Ron Liang#7277        | [CodePen](https://codepen.io/ron-go/pen/yLqOwOd)                            |
| PayRoom#8328          | [CodePen](https://codepen.io/water38198/pen/Expyjpq)                        |
| sophiee#7015          | [codepen](https://codepen.io/pen/?editors=1010)                             |
| 你看我像是會玩嗎#1866 | [codepen](https://codepen.io/hasagg/pen/QWBEgrR)                            |
| Yuna Huang#2692       | [codepen](https://codepen.io/Yuna1002/pen/jOprwYo?editors=0011)             |
| kevin#6131            | [codepen](https://codepen.io/xlqjezvc-the-encoder/pen/PoBzVQW?editors=1011) |
| 竹輪#3335             | [codepen](https://codepen.io/chikuwa0120/pen/bGjwGqj)                       |
| Cream#3449            | [codepen](https://codepen.io/frxdwbbi-the-sasster/pen/XWBjWOd?editors=1012) |
| 阿異#4776             | [CodePen](https://codepen.io/yani21399/pen/GRBjEed)                         |
|Wei#2330|[Codepen](https://codepen.io/ixfjxrbo-the-typescripter/pen/yLqVbGv)|
|YI#0863|[Codepen](https://codepen.io/YI0305/pen/QWBGgaB?editors=0012)|
|阿蘇#8531|[Codepen](https://codepen.io/susu3131/pen/ExpNpex?editors=0011)|
|Shuo#1596|[Codepen](https://codepen.io/chiangchungshuo/pen/vYagewo?editors=1010)|
|popcorn_3q#9893|[Codepen](https://codepen.io/arnyrpqt-the-sasster/pen/eYjgevL)|
| Jenny真#7532 | [CodePen](https://codepen.io/wei-chen-wu/pen/mdjRGBp?editors=0010) |
|IreneY#0086|[CodePen](https://codepen.io/HalfPlannedJourney/pen/ExpWZrJ)|
|MengLin#3001|[CodePen](https://codepen.io/aacj2642/pen/XWBMRQV)|
|Yiru#0236|[Codepen](https://codepen.io/yiru94/pen/mdjWwGP?editors=1010)|
|Judy Wei#6103|[Codepen](https://codepen.io/Judy0718/pen/qBymYLZ)|
|   YU#0618   | [Codepen](https://codepen.io/yoken_/pen/LYBLbmj)        |
|GOD_QWERTYUIOPLKJLKLLOINJ_MASTER#4922 | [Codepen](https://codepen.io/sho666/pen/wvxeJwo?editors=1011)        |
|   Cookie SSS#6991   | [Codepen](https://codepen.io/sqhjikpa-the-selector/pen/OJwxxOx?editors=1010)        |
|Tuhacrt#0008|[codepen](https://codepen.io/Tuhacrt/pen/YzjaqRo?editors=0011)|
|周周#3503|[Codepen](https://codepen.io/jhoujhou-the-decoder/pen/BaPVbKa?editors=0011)|
|Jujubeleven#1036|[Codepen](https://codepen.io/jujubeleven/pen/jOpQEMr?editors=0011)|
|  cbs#9007  |[Codepen](https://codepen.io/wasdjk/pen/YzOQYae)|
|  Eason#7884  |[Codepen](https://codepen.io/ASLEO/pen/bGxXLjd)|