Skip to content

Conversation

SuWebOnes
Copy link

Learners, PR Template

Self checklist

  • I have committed my files one by one, on purpose, and for a reason
  • I have titled my PR with REGION | COHORT_NAME | FIRST_NAME LAST_NAME | PROJ_NAME
  • I have tested my changes
  • My changes follow the style guide
  • My changes meet the requirements of this task

Changelist

Briefly explain your PR.

Questions

Ask any questions you have for your reviewer.

SuWebOnes added 25 commits July 19, 2025 23:02
…without a value, Empty query string, and multiple pairs
@SuWebOnes SuWebOnes added 🔑 Priority Key Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Jul 22, 2025

if (indexOfEqual === -1) {
// No '=' means key with no value
queryParams[decodeURIComponent(pair)] = "";
Copy link

Choose a reason for hiding this comment

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

Can you explain what decodeURIComponent method does?

Copy link
Author

Choose a reason for hiding this comment

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

It converts URL-encoded characters back into their original form

Copy link

Choose a reason for hiding this comment

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

Good job for practicing writing the package.json!

@day-lee day-lee added the Reviewed Volunteer to add when completing a review with trainee action still to take. label Jul 29, 2025
@day-lee day-lee 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. Reviewed Volunteer to add when completing a review with trainee action still to take. labels Jul 29, 2025
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants