Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Object Destructuring

未關閉
#24 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 10 天內回覆

還沒有人認領這個 Issue。

評估

難度
1/5
預估耗時
1 小時以內
新手友好度
50/100
Issue 類型
功能
描述清晰度
描述清楚
活躍度
停滯
技術堆疊
javascript
領域
content

研究方向

開啟 Sprint-1/destructuring 中連結的 coursework,並在開始前閱讀練習說明。在 feature/destructuring 分支上完成物件解構練習,並遵循所要求的 commit 和 pull request 流程。當 coursework 展示如何擷取物件值並在一行中將其指派給變數時,即表示完成。

由索引模型根據 Issue 內容生成。

描述

🏕 Priority Mandatory 🐇 Size Small 📅 Sprint 1 Core Module-Data-Flows Submit:PR
Learning Objectives
  • Use object destructuring to extract values from an object and assign them to variables in one line
Link to the coursework

https://github.com/CodeYourFuture/Module-Data-Flows/tree/main/Sprint-1/destructuring

Why are we doing this?

Destructuring is very useful and used a lot in React. Both array and object destructuring are worth exploring.

Maximum time in hours

1

Submission & Review
  1. Fork to your Github account.
  2. Make a branch for this project called feature/destructuring
  3. Make regular small commits in this branch with clear messages.
  4. When you are ready, open a PR to the CYF repo, following the instructions in the PR template.
gitGraph
    commit id: "start"
    branch feature/destructuring
    commit id: "ex-1-update-argument"
    commit id: "ex-2-teachers-pet"
    commit id: "ex-3-print-receipt"
    checkout main
    merge feature/destructuring

There are several projects in this repo. Make a new branch for each project. This might feel challenging at first, so this is a good problem to bring to class to work on in groups with mentors.

Don't make one giant PR with all your work in for the module. Make a separate PR for each assignment.

主要語言
JavaScript
星號
0
分支
276
PR 合併指標
30 天內沒有已合併 PR

環境準備

這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

CodeYourFuture/Module-Data-Flows 的其他 Issue

查看 CodeYourFuture/Module-Data-Flows 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。