-
-
Notifications
You must be signed in to change notification settings - Fork 158
London | ITP-MAY-25 | Surafel Workneh| Module: Data Groups | Sprint-2 #684
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…t in new line sprint-2 recipe.js
…ntation querystring.js
…without a value, Empty query string, and multiple pairs
…int-2 interpret invert.test.js
…t-2 interpret invert.test.js
…nt-2 interpret invert.test.js
…-2 interpret invert.js
|
||
if (indexOfEqual === -1) { | ||
// No '=' means key with no value | ||
queryParams[decodeURIComponent(pair)] = ""; |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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!
Learners, PR Template
Self checklist
Changelist
Briefly explain your PR.
Questions
Ask any questions you have for your reviewer.