Skip to content

Brussels | ITP-2026-1 | Meysam Razagh | Sprint 1 | Feature/destructuring#92

Open
Epunch wants to merge 3 commits into
HackYourFutureBelgium:mainfrom
Epunch:feature/destructuring
Open

Brussels | ITP-2026-1 | Meysam Razagh | Sprint 1 | Feature/destructuring#92
Epunch wants to merge 3 commits into
HackYourFutureBelgium:mainfrom
Epunch:feature/destructuring

Conversation

@Epunch
Copy link
Copy Markdown

@Epunch Epunch commented May 20, 2026

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

Description

This PR contains the completed exercises for Sprint 1 focusing on Object Destructuring.

Changes Made

  • Exercise 1: Updated function parameters to use object destructuring directly inside introduceYourself.
  • Exercise 2: Filtered the Hogwarts array using destructuring to list Gryffindor students and teachers with pets.
  • Exercise 3: Created a takeout receipt generator that calculates totals, converts pence to decimals, and formats the output cleanly.

How to Test

Run each exercise.js file using Node.js to verify the console outputs match the expected results:
node Sprint-1/destructuring/exercise-1/exercise.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant