We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0e1410 commit 08d64f9Copy full SHA for 08d64f9
Sprint-2/implement/querystring.js
@@ -6,6 +6,7 @@ function parseQueryString(queryString) {
6
const keyValuePairs = queryString.split("&");
7
8
for (const pair of keyValuePairs) {
9
+ if (pair === "") continue;
10
const index = pair.indexOf("=");
11
12
if (index === -1) {
@@ -21,3 +22,4 @@ function parseQueryString(queryString) {
21
22
}
23
24
module.exports = parseQueryString;
25
+
0 commit comments