Skip to content

Manchester | 26-ITP-May | Abdu Hassen | Sprint 2 | Data-groups - #1313

Open
Abduhasen wants to merge 2 commits into
CodeYourFuture:mainfrom
Abduhasen:sprint-2-data-groups-back-log
Open

Manchester | 26-ITP-May | Abdu Hassen | Sprint 2 | Data-groups #1313
Abduhasen wants to merge 2 commits into
CodeYourFuture:mainfrom
Abduhasen:sprint-2-data-groups-back-log

Conversation

@Abduhasen

Copy link
Copy Markdown

…based on tdd

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

Changelist

-fixing code based on test
-writing codes based on test driven development
-writing tests

Questions

N/A

@Abduhasen Abduhasen added 📅 Sprint 2 Assigned during Sprint 2 of this module Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. Module-Data-Groups The name of the module. labels Jul 27, 2026
@LonMcGregor LonMcGregor added the Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. label Aug 1, 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, still some things to work on

return false;
}
for (const keyProperty in givenObject) {
console.log(keyString);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Why do you need to do console.log here?

queryParams[pair] = "";
} else {
const key = decodeURIComponent(pair.slice(0, equalityPosition));
const replacedKey = key.replace("+", " ");

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Does this work for examples with multiple +es in a single querystring

word key and pairing it withe the last loop value. */

// e) Fix the implementation of invert (and write tests to prove it's fixed!)
/* function invert(obj) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Can you un-comment this, comment the broken original, and then try writing some tests to see if this is correct?

@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. Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. labels Aug 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Module-Data-Groups The name of the module. Reviewed Volunteer to add when completing a review with trainee action still to take. 📅 Sprint 2 Assigned during Sprint 2 of this module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants