---
# System prepended metadata

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

---

---
tags: JS 直播班 - 2023 秋季班
---
# 🏅 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 / 答案                                |
|:--------------:|:---------------------------------------------------------------------------:|
|     詹姆士     |              [CodePen](https://codepen.io/z111048/pen/bGzdEKY)              |
|    ShangChu    |     [CodePen](https://codepen.io/shangchu0412/pen/oNmXbQj?editors=0010)     |
|     銀光菇     |           [CodePen](https://codepen.io/genesynthesis/pen/WNPvrYz)           |
|     Rxzan      |            [CodePen](https://codepen.io/Tzuru-Chen/pen/zYeGreV)             |
|    pinyi_9     |        [CodePen](https://codepen.io/Wpypy/pen/RwvPrvK?editors=1010)         |
|      阿榮      |            [Codepen](https://codepen.io/codeitaday/pen/bGzdpVK)             |
|   santu0868    |            [Codepen](https://codepen.io/HatsumiSan/pen/jOdPqNe)             |
|      SHUO      |       [CodePen](https://codepen.io/xrzarxkl-the-reactor/pen/mdaNgNz)        |
|  cest_jessie   |           [CodePen](https://codepen.io/itsjessiechen/pen/YzBXqXZ)           |
|     Ching      |      [CodePen](https://codepen.io/tzuchingg/pen/BaMNKwO?editors=0010)       |
|    ⭐️小正     |            [CodePen](https://codepen.io/colorgolden/pen/xxMGVXE)            |
|    hsu0921     |            [CodePen](https://codepen.io/HSUANIN0327/pen/ZEwGWMG)            |
|     Helen      |    [CodePen](https://codepen.io/milkteamonster/pen/zYeGqmK?editors=0010)    |
|      Eden      |              [Codepen](https://codepen.io/iseden/pen/OJdVNaa)               |
|      Andy      |      [Codepen](https://codepen.io/andy31342/pen/PoVqNyy?editors=1111)       |
|      楓仔      |    [Codepen](https://codepen.io/maplestartend/pen/ZEwGWPQ?editors=0012)     |
|     Allen      |               [Codepen](https://codepen.io/hlctw/pen/GRzJqgw)               |
|      MDFK      |       [Codepen](https://codepen.io/maywang/pen/xxMGOVP?editors=0012)        |
|   minnielin    |     [Codepen](https://codepen.io/ShengXin-Lin/pen/poGJboj?editors=1111)     |
|     Yijing     |   [Codepen](https://codepen.io/Yi-Jing-71080635/pen/rNPVLYz?editors=1111)   |
|     shuuu      | [Codepen](https://codepen.io/afjrvjzl-the-bashful/pen/jOdPrzM?editors=0011) |
|      dora      |              [Codepen](https://codepen.io/dorayu/pen/GRzJZpM)               |
|     Winnie     |  [Codepen](https://codepen.io/codepen-io-winnie/pen/xxMGOyJ?editors=0010)   |
|    yuan2781    |              [Codepen](https://codepen.io/ismebir/pen/wvNaWYK)              |
|     Alyce      |       [Codepen](https://codepen.io/alycehwy/pen/poGJbmw?editors=0010)       |
|   jimmy.0706   |      [Codepen](https://codepen.io/WeiJun-Mao/pen/bGzdwpg?editors=0010)      |
|      Uli       |       [Codepen](https://codepen.io/uli1313/pen/MWLwjeV?editors=0010)        |
|    kuanju27    |            [Codepen](https://codepen.io/Eero-Chiao/pen/WNPvGwj)             |
|    ann6212     |       [Codepen](https://codepen.io/yqmegupa-the-styleful/pen/XWObjjP)       |
|  hsuanlee1084  |           [Codepen](https://codepen.io/hsuanlee1024/pen/RwvPGpW)            |
|   Lychee KK    |             [Codepen](https://codepen.io/kakakala/pen/vYbOXrG)              |
|     jiayu      |       [Codepen](https://codepen.io/fjqxaznl-the-reactor/pen/RwvPGBG)        |
|     claire     |            [Codepen](https://codepen.io/yi-wen-chen/pen/BaMNLVZ)            |
|    Moreene     |              [CodePen](https://codepen.io/Moreene/pen/QWYbKPx)              |
|   tanuki5863   |      [CodePen](https://codepen.io/tanuki320/pen/OJdVRKO?editors=1010)       |
|     Mattie     |             [CodePen](https://codepen.io/mattielin/pen/eYxNBpw)             |
|      Ivy       |             [CodePen](https://codepen.io/Irene-Ke/pen/LYqVbKO)              |
|     Lainie     |       [CodePen](https://codepen.io/Lainie88/pen/VwgLPwx?editors=0012)       |
|     CPing      |               [CodePen](https://codepen.io/CPing/pen/zYeGNwd)               |
|      風羽      |             [CodePen](https://codepen.io/Joy-Huang/pen/qBgdRgJ)             |
|     yuan!      |             [CodePen](https://codepen.io/townyuan/pen/gOqpmpa)              |
|    Chia Pin    |             [CodePen](https://codepen.io/joker-cat/pen/mdvJWxE)             |
|     yuling     |             [CodePen](https://codepen.io/igzdflpu/pen/gOqpmxw)              |
|   damon0323    |   [CodePen]([網址](https://codepen.io/swk9eny2/pen/WNPvpMX?editors=0011))   |
|      kawa      |       [CodePen](https://codepen.io/z83xji6/pen/KKJpmQL?editors=0011)        |
|      zona      |       [CodePen](https://codepen.io/w242920/pen/wvNaePv?editors=1111)        |
|    gebyman     |       [CodePen](https://codepen.io/gebyman/pen/qBgdXZv?editors=0012)        |
|    yu.t_liu    |      [CodePen](https://codepen.io/YuT200053/pen/xxMGLdB?editors=0110)       |
|   runweiting   |             [CodePen](https://codepen.io/weiting14/pen/Exrjvzq)             |
|      維哲      |              [CodePen](https://codepen.io/kwz1202/pen/LYqVzEG)              |
|   荷菓かのり   | [CodePen](https://codepen.io/oogxwkvw-the-builder/pen/QWYbqEZ?editors=0012) |
|      小夏      |            [CodePen](https://codepen.io/michaelhsia/pen/zYeGEMB)            |
|      xin       |          [CodePen](https://codepen.io/Estherrrrrr999/pen/vYbOWaP)           |
|    LinaChen    |             [CodePen](https://codepen.io/LinaChen/pen/WNPvdRO)              |
| 奔跑吧(GTR150) |              [CodePen](https://codepen.io/Wer-Qwe/pen/OJdVzZp)              |
|      保羅      |      [CodePen](https://codepen.io/paul-1997/pen/KKJpQVr?editors=0011)       |
|    ming0712    |     [CodePen](https://codepen.io/StevenHuang/pen/GRzJQJE?editors=0010)      |
|    hsiu8767    |       [CodePen](https://codepen.io/hsiu8767/pen/rNPVLpz?editors=0011)       |
|    Ataraxia    |           [CodePen](https://codepen.io/ataraxia8888/pen/LYqYLKP)            |
|    smalljie    |             [CodePen](https://codepen.io/smalljie/pen/poGJaqz)              |
|     shiro      |          [CodePen](https://codepen.io/chenghsienwang/pen/PoVqRYx)           |
|      Noah      |       [CodePen](https://codepen.io/lch1222/pen/OJdVvXG?editors=1011)        |
|    Fabio20     |      [CodePen](https://codepen.io/fabio7621/pen/MWLwGWE?editors=1010)       |
|       MY       |       [CodePen](https://codepen.io/ahmomoz/pen/poGJVjr?editors=1111)        |
|      Leo       |             [CodePen](https://codepen.io/Aruminiya/pen/BaMNrrB)             |
|  nini1202desu  |       [CodePen](https://codepen.io/tvxq5206/pen/abXOGba?editors=0011)       |
|  celinelinnn   |           [CodePen](https://codepen.io/celinephoebe/pen/xxMGJEX)            |
|      Oria      |        [CodePen](https://codepen.io/kajing/pen/XWObxWw?editors=0010)        |
| xiaokui_71292  |             [CodePen](https://codepen.io/pen?template=xxMGNGx)              |
|      白夜      |        [CodePen](https://codepen.io/Wei903/pen/WNPQegL?editors=0010)        |
|  phyllis |       [CodePen]([網址](https://codepen.io/Phyllis-Cheng/pen/eYxpYJZ))       |
|      OSN       |            [Codepen](https://codepen.io/osncodepen/pen/JjxYPyG)             |
|   Vivian2857   |  [Codepen](https://codepen.io/uojbohed-the-solid/pen/xxMwxzY?editors=0010)  |
|     Jerry      |       [CodePen](https://codepen.io/ildkosxk-the-encoder/pen/mdvedjo)        |
|      蛋塔      |            [CodePen](https://codepen.io/Hong-Game1/pen/zYevGZO)             |
|  sunny_08149   |             [CodePen](https://codepen.io/Sunny-Lin/pen/gOqapWG)             |
|      JUN_      |        [CodePen](https://codepen.io/Jun-L/pen/gOqarXX?editors=1111)         |
|    QOO#8446    |       [CodePen](https://codepen.io/QOOQOOQ/pen/eYxNzKG?editors=0012)        |
|  nikkita_3544  |            [Codepen](https://codepen.io/vanessa7259/pen/ExrVyjN)            |
|   _shun0130    |     [CodePen](https://codepen.io/koba60052ww/pen/poGjEwW?editors=0011)      |
|     Rogan      |       [CodePen](https://codepen.io/RoganHsu/pen/YzBXgpv?editors=0011)       |
|      Zem       |              [CodePen](https://codepen.io/Potoro/pen/YzByNye)               |
|     Sponge     |      [CodePen](https://codepen.io/biunpujm-the-flexboxer/pen/wvNKgqb)       |
|      IRIS      |       [CodePen](https://codepen.io/sz594380/pen/KKJdmBE?editors=0010)       |
| yaoling.liang  |            [CodePen](https://codepen.io/Yao-Ling-L-/pen/VwgvxGZ)            |
|    JasonFu     |        [CodePen](https://codepen.io/jie-Fu/pen/MWLaXJZ?editors=1010)        |
|     Befun      |    [CodePen](https://codepen.io/richard260572/pen/eYxJOzb?editors=0011)     |
| 歐陽龍龍#1061  |           [CodePen](https://codepen.io/dizzydog-rgb/pen/JjxGomx)            |
|     Tina02     |       [CodePen](https://codepen.io/chjitlox-the-bashful/pen/BaMyBGe)        |
|     peggy      |       [CodePen](https://codepen.io/peggylai/pen/ZEwQNZZ?editors=1010)       |
|      Iris      |            [CodePen](https://codepen.io/iris831206/pen/zYerVNv)             |
|      xuan      |       [CodePen](https://codepen.io/xuan0915/pen/vYbGOLE?editors=0012)       |
|      精靈      |            [Codepen](https://codepen.io/justafairy/pen/dyaMMGx)             |
|      Peng      |            [Codepen](https://codepen.io/H-Peng/pen/VwgaajZ) |
|Daylily|    [Codepen](https://codepen.io/daylily/pen/VwgaaEa) |
|阿賀#3700|    [Codepen](https://codepen.io/sungho/details/KKJzMYK) |
|阿維#2569|    [Codepen](https://codepen.io/iijojpli-the-looper/pen/poGyqwy?editors=0010) |
|小廷|    [Codepen](https://codepen.io/uyxkiake-the-selector/pen/RwvaOGY?editors=0010) |
|RX00|    [Codepen](https://codepen.io/llqzknqv-the-styleful/pen/RwvWEGz?editors=1011) |
|Joy chiang|    [Codepen](https://codepen.io/fwysphbw-the-vuer/pen/mdvPYeb?editors=0010) |
|davidtt|    [Codepen](https://codepen.io/David-Tsai/pen/ExrggYV?editors=0010) |
|Cosmos|    [Codepen](https://codepen.io/violet7755/pen/PoVGdOd) |
|郭芙蘭#6374|    [Codepen](https://codepen.io/flora_Kuo/pen/PoVGxzb?editors=1011) |
|hsuhsusophie|    [Codepen](https://codepen.io/hsuhsusophie/pen/LYqbJvj?editors=0010) |
|Rochel|[Codepen](https://codepen.io/rochelwang1205/pen/NWodPWy?editors=0011)|
|shcopy|[Codepen](https://codepen.io/shcopy/pen/RwvpvOY)|
|_Luna|[Codepen](https://codepen.io/sfctsolp-the-sasster/pen/VwgpJoo?editors=0010)|
| shawey.1a2b | [Codepen](https://codepen.io/Shawey/pen/bGzrGjX) |
| Hank._.z | [Codepen](https://codepen.io/linoiaby-the-sans/pen/zYePdvK?editors=1111) |
|ChrisSQR|[Codepen](https://codepen.io/ChrisSQR/pen/YzBExKY)|
|angela9741|[Codepen](https://codepen.io/coding-angela25/pen/QWYByPQ?editors=0010)
|macihuang|[Codepen](https://codepen.io/macy1215/pen/WNPKwaP)
|bf_tsai|[Codepen](https://codepen.io/BF-Tsai/pen/OJdoJwG)|
| NathanJames |[Codepen](https://codepen.io/ufo060204/pen/VwgGQYw)|
| skypassion5000 |[Codepen](https://codepen.io/skypassion5000/pen/WNPaMyd?editors=0011)|
| 辣椒 |[Codepen](https://codepen.io/chilichen118/pen/JjxeWNr)|
