---
# System prepended metadata

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

---

# 🏅 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 / 答案 |
| --- | ----- | ----- |
|  01 | voke  | [CodePen](https://codepen.io/FiSi-the-lessful/pen/mdNOYbq) | 
|  02 | Chun  | [CodePen](https://codepen.io/Chun_debbie/pen/GRVWdeN?editors=0010) |
|  03 | Jainee  | [CodePen](https://codepen.io/Jainee0110/pen/MWNmaja) |
|  04 | 泊岸  | [CodePen](https://codepen.io/qoq77416416/pen/WNVjQoq?editors=0012) |
|05|Hailey|[CodePen](https://codepen.io/sxbokfja-the-flexboxer/pen/oNKWjWp?editors=0010)|
|06|ABow_Chen|[CodePen](https://codepen.io/fred39392001/pen/eYqWpyB)|
|07|雪粒| [CodePen](https://codepen.io/bzykdfhw-the-bashful/pen/NWQjGYK) | 
|08|tim| [CodePen](https://codepen.io/jskrtivy-the-animator/pen/rNXmOJj?editors=0010) | 
|09|yuyuhunter_0509| [CodePen](https://codepen.io/KRcube/pen/WNVjQJb?editors=0011) |
|10|yoishere| [CodePen](https://codepen.io/yoishere/pen/GRVmpbb) |
|11|mercury2508.| [CodePen](https://codepen.io/Mercury2508/pen/YzmVwKB) |
|12|邵|[Codepen](https://codepen.io/ukscrlno-the-typescripter/pen/XWvRXmZ?editors=0010)|
|13|david1819|[Codepen](https://codepen.io/David-Lin-the-vuer/pen/poMPgEw)|
|14|a1phaki(小k)|[CodePen](https://codepen.io/a1phaki/pen/qBembrL)|
|15|Lotte|[CodePen](https://codepen.io/hmkdoxuj-the-decoder/pen/VwobeVw?editors=0010)|
|16|倫倫|[CodePen](https://codepen.io/f5badapple/pen/WNVjrWX?editors=0012)|
|17|brucelee0629| [CodePen](https://codepen.io/xxhdklwi-the-decoder/pen/zYgwqvQ?editors=0012) | 
|18|陳睿睿|[CodePen](https://codepen.io/uwmrsusb-the-solid/pen/xxvdORd?editors=0011)|
|  19   |Chris       | [CodePen](https://codepen.io/chris-chen-the-selector/pen/wvVdWdZ?editors=0010) | 
|20|陳小廷| [CodePen](https://codepen.io/ting1124/pen/MWNmeNp) |
|   21  |  Celine     | [CodePen](https://codepen.io/szuning/pen/NWQjpab) | 
|  22   |   ycl325.etheddie    | [CodePen](https://codepen.io/wdvikfuz-the-selector/pen/BaXRWeW) | 
|   23  |   JRz    | [CodePen](https://codepen.io/JRZHENG/pen/BaXRRJY?editors=1111) | 
| 24 | Mos | [CodePen](https://codepen.io/mos25399/pen/bGXWWrv?editors=0010) |
|   25  |   jimmy.0706    | [CodePen](https://codepen.io/JimmyMao/pen/VwobWZz?editors=0012) | 
|   26  |   Mike    | [CodePen](https://codepen.io/mike2049/pen/ExqmvgL?editors=0011) | 
|   27  |   Rogan    | [CodePen](https://codepen.io/RoganHsu/pen/OJKmxZQ) |
|   28  |   是在哈囉    | [CodePen](https://codepen.io/miyxdhem-the-solid/pen/eYqWGgX?editors=1111) |
|   29  | tsz_ying  | [CodePen](https://codepen.io/bekgnohe-the-selector/pen/jOgmGQX?editors=0011) |
|  30   |  JIA    | [CodePen](https://codepen.io/nzaicwlw-the-styleful/pen/YzmVEoR?editors=0010) | 
|  31   |  Sonia    | [CodePen](https://codepen.io/YUJOU/pen/poMPpvN?editors=0010) | 
|  32   |  haojing    | [CodePen](https://codepen.io/hjxu/pen/qBempNM) | 
|33 |GAVI| [CodePen](https://codepen.io/qbafldcv-the-scripter/pen/dyxWJrb?editors=0010) |
| 34 | yuyeh_1212 | [CodePen](https://codepen.io/yuyeh1212/pen/vYomWrz) |
| 35 | 毛巾 | [CodePen](https://codepen.io/bqdcjboa-the-solid/pen/ZEgKMeX) |
|36|朋仔|[CodePen](https://codepen.io/YPHUANG/pen/oNKWaVY?editors=0010)|
|37|嚼勁先生|[CodePen](https://codepen.io/James520284/pen/RwXVqmE)|
|38|ab567ab5|[CodePen](https://codepen.io/WanTzu-Chiang/pen/wvVdRMB?editors=0010)|
|39| Ruby | [CodePen](https://codepen.io/xivgaijl-the-selector/pen/gOVWZMV) |
|  40  |   610    | [CodePen](https://codepen.io/YI-LING-LIU/pen/abeWxwK) |
|  41  | Dolce_墨 | [CodePen](https://codepen.io/DolceTseng1026/pen/dyxWEJM) |
| 42 | GTR150 | [CodePen](https://codepen.io/Wer-Qwe/pen/rNXwBEB) | 
| 43  |yuling       | [CodePen](https://codepen.io/yu-ling-peng/pen/zYgzYPK?editors=0011) | 
|  44   |jerry_66983| [CodePen](https://codepen.io/Barry-C/pen/dyxROJG?editors=0011) | 
|  45   |    Ariel   | [CodePen](https://codepen.io/ariel0510/pen/YzmQNyQ?editors=0011) |
|  46   |    kaka_945   | [CodePen](https://codepen.io/kay945/pen/jOgwywo) |
|  47   |  CrystalLala     | [CodePen](https://codepen.io/crystallala/pen/dyxRNZV) | 
|  48   |  Kaya  | [CodePen](https://codepen.io/kayaribi/pen/NWQgjKj) | 
|  49   |  alec1203     | [CodePen](https://codepen.io/soloayaya/pen/zYgzvaN) | 
|50|Tatsu| [CodePen](https://codepen.io/chindesu0207/pen/KKOqXMQ) |
| 51 | Glen_69515 |[CodePen](https://codepen.io/glenyaochih/pen/LYwLOeL?editors=1011)| 
| 52 |ABOOS| [CodePen](https://codepen.io/guhungyin/pen/bGXRYyP?editors=0012) |
|  53   |   蘑菇星星    | [CodePen](https://codepen.io/brrrieon-the-vuer/pen/qBeXVdO?editors=0012) | 
|  54   |   Joannehu    | [CodePen](https://codepen.io/nelbabkv-the-flexboxer/pen/yLmopxg?editors=1011) | 
|  55   |   野鴿    | [CodePen](https://codepen.io/HoshinoSyouta/pen/ExqveMQ?editors=0011) | 
|  56   |   Seris    | [CodePen](https://codepen.io/Dale-Chien/pen/ZEgJwwq) |
|   57  |   Emma    | [CodePen](https://codepen.io/Emma0919/pen/rNXzEbO) | 
|   58  |    KUN.   | [CodePen](https://codepen.io/barry91205/pen/vYoeGGw) | 
| 59 | Jim |[CodePen](https://codepen.io/JimChou/pen/vYoeyrE?editors=0010)|
|  60   |   Ed Huang    | [CodePen](https://codepen.io/yide1986/pen/gOVGgwW) |
|  61  |   Ana   | [CodePen](https://codepen.io/Ana-Wu/pen/jOgGxzE?editors=0010) | 
|  62  | yaoling.liang | [CodePen](https://codepen.io/Yao-Ling-L-/pen/WNVZBjx?editors=1010) | 
|  63  | xiang5141 | [CodePen](https://codepen.io/XIANG-XIANG/pen/oNKoYwQ?editors=0010) | 
|  64  | yu | [CodePen](https://codepen.io/yu_ch12/pen/LYwOLbP) | 
|  65  | joylu0902 | [CodePen](https://codepen.io/joylu0902/pen/BaXmYEz) | 
|  66  | Yen | [CodePen](https://codepen.io/yuxxxlouyen/pen/YzmLYXo?editors=0011) | 
|  67  | Hedwig | [CodePen](https://codepen.io/adirehfz-the-encoder/pen/dyxKbYG?editors=1011) | 
|  68  | charlottelee | [CodePen](https://codepen.io/char849/pen/vYorpxq) | 
|69|維妮|[CodePen](https://codepen.io/Maggy-Lin/pen/QWeBddP)|
|70|iamcan|[CodePen](https://codepen.io/uhnxswdq-the-typescripter/pen/vYozPod)|
|71|zobody|[CodePen](https://codepen.io/Zoe-Shih/pen/ExqeBMy)|
|72|KOMATSU PEI|[CodePen](https://codepen.io/Komatsu2021/pen/eYqPMXO)|
|73|Nocab Wang ( 培根 )|[CodePen](https://codepen.io/PeihanWang/pen/MWNZEqm?editors=0010)|
|74|Amy(咂摳)| [CodePen](https://codepen.io/nnxucgmc-the-builder/pen/PoMLjbM?editors=0011) | 
|75|Satar| [CodePen](https://codepen.io/SatarKuo/pen/bNbgvNW?editors=0011) | 
|76|Chuang|[CodePen](https://codepen.io/uidoytjq-the-solid/pen/qEWxPge?editors=0011)
<!--可複製下方格式
|     |       | [CodePen]() | 
-->