Skip to content

London | 26-ITP-Sep | Ebrahim Moqbel | Sprint 1 | object destructuring - #585

Open
Ebrahim-Moqbel wants to merge 5 commits into
CodeYourFuture:mainfrom
Ebrahim-Moqbel:sprint-1/destructuring
Open

Ebrahim-Moqbel wants to merge 5 commits into
CodeYourFuture:mainfrom
Ebrahim-Moqbel:sprint-1/destructuring

Conversation

@Ebrahim-Moqbel

Copy link
Copy Markdown

Learners, PR Template

Self checklist

  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • My changes meet the requirements of the task
  • I have tested my changes
  • My changes follow the style guide

Task code

CYF-1112

Changelist

completed the exercises of Sprint 1

@Ebrahim-Moqbel Ebrahim-Moqbel added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Sep 14, 2026

@LonMcGregor LonMcGregor left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work, you could improve the first one a little though to make it more reusable

let { name, age, favouriteFood } = personOne;
// Don't change anything else.
function introduceYourself(___________________________) {
function introduceYourself(personOne) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would this approach work if you wanted to use the function with multiple person objects?

@LonMcGregor LonMcGregor added Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Sep 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Reviewed Volunteer to add when completing a review with trainee action still to take.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants