Skip to content

Manchester | 26-ITP-Jan | Abdu Hassen | Sprint 2| Data-Grouping - #1121

Closed
Abduhasen wants to merge 3 commits into
CodeYourFuture:mainfrom
Abduhasen:Data-Group-sprint-2-backlog
Closed

Manchester | 26-ITP-Jan | Abdu Hassen | Sprint 2| Data-Grouping#1121
Abduhasen wants to merge 3 commits into
CodeYourFuture:mainfrom
Abduhasen:Data-Group-sprint-2-backlog

Conversation

@Abduhasen

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

Changelist

-debugging of codes
-implementing of codes
-interpreting of codes

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 Mar 27, 2026
Comment thread Sprint-2/debug/author.js Outdated
Comment thread Sprint-2/debug/recipe.js Outdated
Comment thread Sprint-2/implement/contains.js
Comment thread Sprint-2/implement/contains.js Outdated
Comment thread Sprint-2/implement/contains.js Outdated
Comment thread Sprint-2/implement/contains.test.js Outdated
Comment thread Sprint-2/implement/querystring.js
Comment thread Sprint-2/implement/tally.js Outdated
Comment thread Sprint-2/implement/tally.js Outdated
@cjyuan cjyuan 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 Apr 1, 2026
@Abduhasen Abduhasen added Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. and removed Reviewed Volunteer to add when completing a review with trainee action still to take. labels Apr 6, 2026

@cjyuan cjyuan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Changes look good.

Please note that in CYF courses, the recommended way to inform the reviewer of your changes is to do both of the following:

  • Reply to their feedback.
    • In the responses, clarify how each piece of feedback was addressed to demonstrate that you've carefully reviewed the suggestions.
      • You may find the suggestions in this PR Guide useful.
    • Your response may trigger a notification (depending on the reviewer's settings), helping ensure they’re aware of the updates you’ve made.
  • Replace the "Reviewed" label by a "Needs review" label (which you have done -- great!)
    • Without this label, the reviewer would not know if your changes is ready to be reviewed.

Comment thread Sprint-2/implement/contains.test.js Outdated
// Then it should return false or throw an error
test("the function should return false when invalid parameter like an array is passed", () => {
expect(contains([10, 23, 34, 45], "3")).toBe(false);
expect(contains("hello", "hi")).toBe(false);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Note: String also have their indices acting as keys.

Object.hasOwn("hello", "0") evaluates to true.

@cjyuan cjyuan added Complete Volunteer to add when work is complete and all review comments have been addressed. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Apr 6, 2026
@illicitonion

Copy link
Copy Markdown
Member

Closing PR because the January ITP run has finished. Feel free to re-open if you're still working on it.

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

Labels

Complete Volunteer to add when work is complete and all review comments have been addressed. Module-Data-Groups The name of the module. 📅 Sprint 2 Assigned during Sprint 2 of this module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants