---
# System prepended metadata

title: "\U0001F3C5 Day 13 - 物件操作"
tags: [JS 直播班 - 2022 秋季班]

---

---
tags: JS 直播班 - 2022 秋季班
---
# 🏅 Day 13 - 物件操作

### 題目

以下是製作麵包的食譜，請新增一個名為 breadRecipe 的物件，並依照以下要求設定屬性：

1. 新增一個名為 ingredients 的屬性，其值為一個陣列，包含 ＂高筋麵包粉＂、＂ 牛奶＂、＂酵母＂、＂糖＂、＂鹽＂、＂奶油＂。
2. 新增一個名為 bakeTime 的屬性，其值為 30。
3. 新增一個名為 difficulty 的屬性，其值為 ＂簡單＂。
4. 新增一個名為 seasoning 的屬性，其值為一個物件，包含:
    - 屬性名稱: sugar - 值:＂22g＂
    - 屬性名稱: salt - 值:＂10g＂
    - 屬性名稱: pepper - 值:＂10g＂

```javascript=
let breadRecipe = {
    /*  程式碼撰寫處  */
};
```

## 回報流程

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

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

<!-- 解答：  

```
let breadRecipe = {
  ingredients: ["高筋麵包粉", "牛奶", "酵母", "糖", "鹽", "奶油"],
  bakeTime: 30,
  difficulty: "簡單",
  seasoning: {
    sugar: "22g",
    salt: "10g",
    pepper: "10g"
  }
};
```
-->




回報區
---


|        Discord        |                               CodePen / 答案                                |
|:---------------------:|:---------------------------------------------------------------------------:|
|       masterYan#2480       |      [CodePen](https://codepen.io/htzwgoqt-the-looper/pen/LYmKPPe)      |
|       萱仔#0781       |      [CodePen](https://codepen.io/ting-hsuan/pen/eYraMWQ?editors=0010)      |
|      君Jyun#0147      |       [codepen](https://codepen.io/Okaybeok/pen/LYmodKZ?editors=0010)       |
|       Ohno#1144       |       [Codepen](https://codepen.io/mmaa7850/pen/zYjQjOx?editors=0010)       |
|     AuroraC#6539      |       [codepen](https://codepen.io/AuroraC/pen/GRdadKO?editors=1010)        |
|    hsiung阿熊#4079    |             [Codepen](https://codepen.io/hsiungchi/pen/oNdRdvY)             |
|    jackson204#6363    |            [Codepen](https://codepen.io/jackson204/pen/wvjbjBX)             |
|       yumy#1940       |             [Codepen](https://codepen.io/yumy_yamg/pen/MWGdGWd)             |
|      albee#9121       |     [Codepen](https://codepen.io/albee-chang/pen/mdLYLJq?editors=1112)      |
|       Wei#2330        |     [Codepen](https://codepen.io/ixfjxrbo-the-typescripter/pen/gOzJzpv)     |
|        YC#2522        |               [CodePen](https://codepen.io/YCLu/pen/dyeLMpL)                |
|       Ayre#0016       |     [CodePen](https://codepen.io/yichunlin09/pen/YzLbLyQ?editors=0010)      |
|    shinyhung#3825     |      [CodePen](https://codepen.io/sean_1215/pen/gOzJzMe?editors=1010)       |
|     Jenny真#7532      |     [CodePen](https://codepen.io/wei-chen-wu/pen/ExLzLgP?editors=0010)      |
|       無名#6427       |       [CodePen](https://codepen.io/Nomoney/pen/poVYoYv?editors=0010)        |
|     kenki100#0068     |              [codepen](https://codepen.io/ken100/pen/KKRLRgY)               |
|      Clara#1275       |       [codepen](https://codepen.io/bsupixqu/pen/abGrGmN?editors=1010)       |
|    jimmyFang#9575     |                                  [codepen]                                  |
|      Judy☻ #7874      |       [CodePen](https://codepen.io/hsiaohan/pen/zYjQjzq?editors=0010)       |
|        Rr#2215        |            [Codepen](https://codepen.io/rufangcheng/pen/mdLYLqL)            |
|       Tami#6742       |         [CodePen](https://codepen.io/wqsdqbjn-the-vuer/pen/MWGdGoW)         |
|       Peng#9811       |             [CodePen](https://codepen.io/peng-027/pen/rNvgvYx)              |
| 軟綿綿 (๑•ᴗ•๑) ♡#3627 |     [CodePen](https://codepen.io/Connie-Chien/pen/ExLzLog?editors=0010)     |
|      SASIMI#5099      |            [codepen](https://codepen.io/sashimi1327/pen/gOzdRBM)            |
|       予予#9627       |       [CodePen](https://codepen.io/kiqzcraa/pen/wvjbjyN?editors=0011)       |
|       Data#9297       |            [codepen](https://codepen.io/kirakira72/pen/jOxoxZg)             |
|       威0#6919        |     [Codepen](https://codepen.io/n0918679182/pen/VwxOxXy?editors=0010)      |
|       m_m#5493        |             [CodePen](https://codepen.io/minnn7716/pen/BaxexYv)             |
|       威爾#1694       |              [CodePen](https://codepen.io/WILL_Wu/pen/XWqwqYj)              |
|      Shiimu#4307      |       [CodePen](https://codepen.io/len5464/pen/wvjbjXO?editors=0010)        |
|     MJ_Eddie#5258     |             [CodePen](https://codepen.io/nick-lin/pen/ExLzLeZ)              |
| charlottelee849#0366  |    [CodePen](https://codepen.io/charlotte-lee/pen/ExLzLPV?editors=0010)     |
|    KatyChiang#1554    |       [CodePen](https://codepen.io/Kai0819/pen/RwymyeB?editors=1011)        |
|      Chung#5951       |        [CodePen](https://codepen.io/yuju16/pen/zYjQjyN?editors=0010)        |
|      Benson#6763      |             [Codepen](https://codepen.io/kumashow/pen/rNvgvJe)              |
|        VT#0895        |               [Codepen](https://codepen.io/vt197/pen/zYjQjXZ)               |
|      Velma#1693       |        [Codepen](https://codepen.io/Ze1225/pen/gOzJzyZ?editors=0010)        |
|       教練#6451       |           [Codepen](https://codepen.io/monkeybear721/pen/gOzJzZQ)           |
|   jacky010080#0880    |    [CodePen](https://codepen.io/Yen-Jung-Chen/pen/yLjWjdO?editors=0010)     |
|    LHchien33#6232     |      [CodePen](https://codepen.io/lin_chien/pen/XWqwqwM?editors=0010)       |
|       Vera#5592       |              [CodePen](https://codepen.io/skvera/pen/vYjwrOQ)               |
|      amy芳#1385       |              [CodePen](https://codepen.io/skvera/pen/vYjwrOQ)               |
|   William Lai#0196    |            [CodePen](https://codepen.io/lai-weihan/pen/abGrKZE)             |
|      homer#1525       |             [CodePen](https://codepen.io/Buckhorn/pen/RwymJGv)              |
|    Daisy Li #4231     | [CodePen](https://codepen.io/lidairong-gmail-com/pen/OJZYZYG?editors=0012)  |
|     法希娜 #3206      | [CodePen](https://codepen.io/yiiserpf-the-encoder/pen/wvjbXdB?editors=0110) |
|     mandylai#4055     |            [CodePen](https://codepen.io/mandy-lai-2/pen/JjvqZJZ)            |
|      Arista#5802      |           [CodePen](https://codepen.io/arista-hsieh/pen/MWGdXEm)            |
|      心幻羽#0056      |            [CodePen](https://codepen.io/linglingsyu/pen/vYjwreM)            |
|     WEI_RIO#9342      |        [CodePen](https://codepen.io/wei_wu/pen/NWMVzwN?editors=0011)        |
|      yawun#0042       |             [CodePen](https://codepen.io/monicalin/pen/eYraKyG)             |
|     RyanTsai#8906     |             [CodePen](https://codepen.io/linlaose/pen/poVmKLP)              |
|    JustinLiu#9699     |      [CodePen](https://codepen.io/justin0227/pen/YzLbvaM?editors=0012)      |
|     泰泰泰泰#0582     | [CodePen](https://codepen.io/tesdzzph-the-bashful/pen/OJZYEYN?editors=0010) |
|      cotton#7163      |       [CodePen](https://codepen.io/cottonT/pen/XWqwYQY?editors=0010)        |
|     banazita#5143     |             [CodePen](https://codepen.io/banazita/pen/ExLzROp)              |
|       薯餅#3581       |           [CodePen](https://codepen.io/ColdingPoTaTo/pen/XWqwBJP)           |
|      Hilda#7085       |         [CodePen](https://codepen.io/vwquikad-the-vuer/pen/WNJBKGZ)         |
|     PayRoom#8328      |            [CodePen](https://codepen.io/water38198/pen/XWqwBMo)             |
|      肉桂卷#0625      |       [CodePen](https://codepen.io/ginnlee/pen/XWqwBgO?editors=0011)        |
|       Rena#6249       |            [Codepen](https://codepen.io/aureate0116/pen/VwxOBye)            |
|      Loran#1105       |       [Codepen](https://codepen.io/loranlin/pen/YzLbjYq?editors=1111)       |
|      IreneY#0086      |        [codepen](https://codepen.io/HalfPlannedJourney/pen/rNvgrJR)         |
|      粉蒸肉#6214      |       [Codepen](https://codepen.io/wrightyu/pen/jOxopYx?editors=0012)       |
|      Cliff#4606       |             [Codepen](https://codepen.io/Cliff_hex/pen/jOxopzK)             |
|    0xWilliam #8796    |    [CodePen](https://codepen.io/0xWilliam0322/pen/KKRLBeB?editors=0010)     |
|       Yiru#0236       |        [Codepen](https://codepen.io/yiru94/pen/bGMyKje?editors=0010)        |
|    suihsilan#9485     |      [Codepen](https://codepen.io/suihsilan/pen/XWqwBBw?editors=0010)       |
|     beta lin#1445     |              [CodePen](https://codepen.io/linbeta/pen/eYrajjX)              |
|       末次#0236       |             [CodePen](https://codepen.io/yunjulee/pen/JjvqBwd)              |
|     Silvialu#4521     |           [CodePen](https://codepen.io/Silvia091640/pen/KKRLBrG)            |
|    Potatolee#7749     |            [CodePen](https://codepen.io/potatoleee/pen/oNdOKxw)             |
|       RJRS#9430       |               [CodePen](https://codepen.io/RJRS/pen/ExLzYRe)                |
|       Lou#0085        |       [CodePen](https://codepen.io/Lusie_H/pen/MWGdqgd?editors=0010)        |
|      hungya#0773      |      [CodePen](https://codepen.io/hungya777/pen/eYraLJO?editors=0010)       |
|      Winnie#1306      |    [Codepen](https://codepen.io/WinnieWuWinnie/pen/BaxeOZq?editors=0011)    |
|      Eileen#6454      |             [Codepen](https://codepen.io/Eileen-io/pen/RwymYgQ)             |
|      Kevin#6131       | [Codepen](https://codepen.io/xlqjezvc-the-encoder/pen/yLjWxpL?editors=0011) |
|     FiReBrO#0557      |      [Codepen](https://codepen.io/firebro42/pen/eYraLyp?editors=0011)       |
|       大衛#4869       |       [Codepen](https://codepen.io/exnsrpjc/pen/LYmoJQL?editors=1011)       |
|      JackC#0411       |              [Codepen](https://codepen.io/key0329/pen/bGMyxLz)              |
|       母湯#7211       |     [Codepen](https://codepen.io/tommyshih77/pen/qBYGMLP?editors=0011)      |
|      PoWei#8484       |         [Codepen](https://codepen.io/harrison-wei-lai/pen/yLjWRNJ)          |
|     jamesccc#6244     | [Codepen](https://codepen.io/nimwnynv-the-sasster/pen/JjvqmYp?editors=1010) |
|        YI#0863        |        [Codepen](https://codepen.io/YI0305/pen/mdLYzya?editors=0012)        |
|      楓之聲#6945      |             [Codepen](https://codepen.io/sshane258/pen/BaxeqWa)             |
|    出事了阿伯#9923    |     [Codepen](https://codepen.io/BradpittLai/pen/ZEoNqLK?editors=1010)      |
|     AkiHico#9239      |       [Codepen](https://codepen.io/akihico/pen/xxjNyJa?editors=1011)        |
|       yen#5757        |           [Codepen](https://codepen.io/TZU-HUANG-YEN/pen/oNdPgqY)           |
|     yoshidc#0455      |             [CodePen](https://codepen.io/yoshiyyc/pen/ZEoNmoV)              |
|     Joy1712#4670      |       [CodePen](https://codepen.io/Joy1712/pen/yLjWQWZ?editors=0011)        |
|       LQQ#4187        |             [CodePen](https://codepen.io/morefoodq/pen/WNJBLOP)             |
|       cbs#9007        |              [Codepen](https://codepen.io/wasdjk/pen/rNvgove)               |
|       雷雷#7844       |      [Codepen](https://codepen.io/lei-yi-jie/pen/VwxOqqX?editors=0010)      |
|      Greta#0837       |              [CodePen](https://codepen.io/gretali/pen/rNvgooM)              |
|       小白#2406       |            [CodePen](https://codepen.io/gracewhite/pen/gOzJZqQ)             |
|     我是泇吟#5189     |             [CodePen](https://codepen.io/kljuqbxs/pen/ExLzrKw)              |
|       圈圈#4060       |         [Codepen](https://codepen.io/wjejfczn-the-bold/pen/Rwymvxm)         |
|     Amberhh#2465      |              [Codepen](https://codepen.io/Amberhh/pen/JjvqvoX)              |
|     hannahTW#2224     |      [Codepen](https://codepen.io/hangineer/pen/ExLzMYd?editors=1011)       |
|      艾芮絲#6060      |      [Codepen](https://codepen.io/wangyingju/pen/dyeErrX?editors=0010)      |
|      黑白兔#0684      |             [Codepen](https://codepen.io/johnny329/pen/BaxebOw)             |
|       蓁心#6229       |     [Codepen](https://codepen.io/tlorfrnl-the-typescripter/pen/PoevgNR)     |
|      azami#5986       |               [CodePen](https://codepen.io/azami/pen/abGrXVY)               |
|       朧.#9548        |    [codepen](https://codepen.io/crushing_omega/pen/ExLzJmK?editors=0111)    |
|      魚子醬#5220      |             [CodePen](https://codepen.io/haihsuan/pen/zYjQXLK)              |
|       阿風#6890       |             [CodePen](https://codepen.io/Afonguwu/pen/jOxoRvg)              |
|       mou#2215        |     [CodePen](https://codepen.io/shihchiehlan/pen/qBYGwQX?editors=0010)     |
|    Sentiments#4883    |      [codepen](https://codepen.io/Sentiments/pen/YzLbbXO?editors=0010)      |
|      哈囉哈#5196      |     [CodePen](https://codepen.io/bill0841205/pen/LYmoobr?editors=1111)      |
|      王懷英#7271      |             [CodePen](https://codepen.io/huaiying/pen/NWMVVZd)              |
|hayaka #4579|[CodePen](https://codepen.io/CocoCat/pen/NWMVZYX?editors=0010)|
|       竹輪#3335       |            [CodePen](https://codepen.io/chikuwa0120/pen/ExLzBPO)            |
|Mylène#2481|[Codepen](https://codepen.io/hamajibashi/pen/XWqwOBZ)|
| 黃士桓#7654 | [codePen](https://codepen.io/shr-huan-huang/pen/zYjQVVO) |
| 芮綺#5224 | [CodePen](https://codepen.io/zhan70/pen/QWrRXeV?editors=1010) |
| Ruby Chen#7452 | [CodePen](https://codepen.io/ruby92429/pen/ExLzqQy?editors=1011) |
| 狸貓#5863 | [CodePen](https://codepen.io/tanuki320/pen/abGrgXo?editors=1010) |
popcorn_3q#9893| [CodePen](https://codepen.io/arnyrpqt-the-sasster/pen/ZEodzWB?editors=0010)
| Fan#3405 | [CodePen](https://codepen.io/Fan123/pen/RwyzwKW) |
| Hironaka#7367 | [CodePen](https://codepen.io/Hironaka0815/pen/wvjLwya?editors=0010) |
| 勁辣雞腿寶#5817 | [CodePen](https://codepen.io/orz311013/pen/bGMPGxa?editors=0011) |
|ssozr#4680|[codepen](https://codepen.io/ssozr/pen/GRdaBLv?editors=0010)|
|郭芙蘭#6374|[codepen](https://codepen.io/flora_Kuo/pen/PoerwvX?editors=0011)|
|RuoAn#7124|[codepen](https://codepen.io/LiauRuoAn/pen/QWrXbyw?editors=0010)|
|J_u_d_y#5993|[Codepen](https://codepen.io/J_u_d_y/pen/rNvEVKY?editors=1111)|
|bingsu#2362|[Codepen](https://codepen.io/pmyfr/pen/wvjLWog?editors=0010)|
|KC_8685#9343|[Codepen](https://codepen.io/cathy7411/pen/zYjVooz)|
|柔柔#1716|[Codepen](https://codepen.io/rouchen/pen/VwxJmGg)|
|CloThEs#7837|[Codepen](https://codepen.io/CloThEsZ/pen/XWqLpJY)|
|kuku#3118|[Codepen](https://codepen.io/mengting-ku/pen/dyeBvNN?editors=1012)
|Ron Liang#7277|[Codepen](https://codepen.io/ron-go/pen/XWqLMpW)
|SunnyCheng#4113|[Codepen](https://codepen.io/Sunny0509/pen/RwyzpzJ)
|Rice#8043|[Codepen](https://codepen.io/riecball/pen/ExLBmam?editors=0011)
|Yishan#4902|[Codepen](https://codepen.io/gdjrehhw-the-animator/pen/bGMPoaN?editors=0010)|
|yaru#6308|[Codepen](https://codepen.io/lszaietc/pen/XWqLzey?editors=0011)|
|Lucie#3831|[Codepen](https://codepen.io/bisespei/pen/XWqLzGQ)|
|鑫鑫#4346|[CodePen](https://codepen.io/Neil1024/pen/RwyzxgL?editors=0011)|
|健育#5748|[CodePen](https://codepen.io/c1317156/pen/oNdrELq)|
|Evelyne#7323|[CodePen](https://codepen.io/Evelynep/pen/VwxJBoa)|
|阿富#0389|[CodePen](https://codepen.io/spring40747/pen/XWqLxaR?editors=0012)|
|CofCat#9226|[CodePen](https://codepen.io/cofcat456/pen/PoerVwx)|
|Karol-Kuo#5287|[CodePen](https://codepen.io/ting-yu-kuo/pen/VwxJJEL?editors=0011)|
|Hazel.#6020|[CodePen](https://codepen.io/Hazelhsieh/pen/GRdVRNg?editors=0111)|
|艸良#2846|[CodePen](https://codepen.io/momoninainai/pen/RwyXNZg?editors=0010)|
|pss940909#8650|[CodePen](https://codepen.io/pss940909/pen/OJZKPEZ?editors=0010)|
|k.sin#3115|[CodePen](https://codepen.io/sin588/pen/JjvgKWw)|
|CJ07#0176|[codepen](https://codepen.io/cjtseng07/pen/dyexXVB?editors=0012)|
|Cynthia1111#1822|[codepen](https://codepen.io/Cynthia1111/pen/GRdVqLj)|
|Cookie SSS#6991|[codepen](https://codepen.io/sqhjikpa-the-selector/pen/qBYeaer?editors=1112)|
|黑松胖#4836|[Codepen](https://codepen.io/yi-chien-hsieh/pen/zYjgoLd?editors=0012)|
|Chloe#5422|[CodePen](https://codepen.io/Ironchloe/pen/bGMXqvj?editors=0010)|
|Ryan Chiang#6649|[Codepen](https://codepen.io/ryanchiang/pen/WNJVjMN?editors=0012)|
|Nini Chen#5790|[Codepen](https://codepen.io/ninistyle/pen/MWGNBOr?editors=0010)|
|Paul#7426|[Codepen](https://codepen.io/paul-1997/pen/MWGNZMN?editors=0011)|
|Tuhacrt#0008|[codepen](https://codepen.io/Tuhacrt/pen/XWqvGVq)|
|ling chang#1024|[codepen](https://codepen.io/ling-chang/pen/mdLNYPx)|
|Jhen#4563|[codepen](https://codepen.io/su-jhen/pen/KKROOOY)|
|yoyo#1003|[codepen](https://codepen.io/crpbugqy-the-typescripter/pen/LYmwWeZ)|
|Kimi #9564|[Codepen](https://codepen.io/kimihu91/pen/rNKNPwB)|
|Yuna Huang#2692|[codepen](https://codepen.io/Yuna1002/pen/KKePdqW?editors=0011)|
|安o#2448|[Codepen](https://codepen.io/JzhenAn/pen/KKePayW)|
|Mia小福#4473|[Codepen](https://codepen.io/a0950271/pen/ZERzeKm)|
|YU#0618|[Codepen](https://codepen.io/yoken_/pen/jOKNBLx)|
|shio#1414|[Codepen](https://codepen.io/shioyen/pen/ExRYdOW)|
|Shuo#1596|[Codepen](https://codepen.io/chiangchungshuo/pen/poKzqKO)|
|Aritan#1931|[Codepen](https://codepen.io/Aritan/pen/NWzWRMw)|
|DoraHuang#8223|[Codepen](https://codepen.io/mwebwvuq-the-flexboxer/pen/vYrYrpe)|
|christina#6185|[Codepen](https://codepen.io/chrisc0210/pen/zYaYbLP)|
|三隻小貓#1905|[CodePen](https://codepen.io/bagelover/pen/wvXvbEY)|
|Judy Wei#6103|[CodePen](https://codepen.io/Judy0718/pen/WNybePm)|
|Jamie Wu#9345|[Codepen](https://codepen.io/Wu220103/pen/QWxwEbX)|
|awei#0720|[Codepen](https://codepen.io/Aweishi/pen/GRGgxMw)|
|Cream#3449|[Codepen](https://codepen.io/frxdwbbi-the-sasster/pen/wvXBxWN?editors=0011)|
|阿蘇#8531|[Codepen](https://codepen.io/susu3131/pen/qBKdrPJ?editors=0011)|
|sophiee#7015|[Codepen](https://codepen.io/sophiee2727/pen/rNKVPZb?editors=1011)|
|Ringo#7583|[Codepen](https://codepen.io/ringolai1988/pen/WNyQGZQ?editors=0010)|
|H.L.C#2152|[Codepen](https://codepen.io/hsin-liang/pen/poKjWjW)|
|yuling#1634|[codepen](https://codepen.io/igzdflpu/pen/yLEYwRm)|
|How#5806|[Codepen](https://codepen.io/howtobefine/pen/dyKGRyY)|
|mei#8421|[Codepen](https://codepen.io/Shila-Chen/pen/RwJrOpy?editors=0010)|
|kancheng#3915|[CodePen](https://codepen.io/kancheng/pen/oNyxBvK)|
|Azi Hsieh#2861|[CodePen](https://codepen.io/AziHsieh/pen/MWXyBGz)|
|L0F0#8733|[CodePen](https://codepen.io/l0f0/pen/xxzRLPK?editors=0010)|
|Sonia Wu#7154|[CodePen](https://codepen.io/YUJOU/pen/ExRNMBd?editors=1111)|
|Karen Chan#4625|[CodePen](https://codepen.io/ruruchan7/pen/QWxvPOE)|
|meimei#9524|[CodePen](https://codepen.io/isnrudav/pen/KKevYpj?editors=1010)|
|yuchenye#6119|[CodePen](https://codepen.io/yuchen/pen/xxzXbZR)|
|Baozi#2042|[CodePen](https://codepen.io/lillianyu/pen/gOKojRp)|
|samger#0808|[CodePen](https://codepen.io/lee-wei-hong/pen/dyKwQRL?editors=1111)|



