Skip to content

01 - Array Destructuring  #9

@Kev-Ose

Description

@Kev-Ose

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/HackYourFutureBelgium/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.

How to submit

  1. Fork the repo 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 HYF repo, following the instructions in the PR template.

There are several projects in this repo. Make a new branch for each project.

How to review

  1. Complete your PR template
  2. Ask for review from a classmate
  3. Make changes based on their feedback
  4. Review and refactor again once the coursework solutions are released.

Anything else?

https://www.freecodecamp.org/news/array-destructuring-in-es6-30e398f21d10/

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions