We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90c7c4b commit a93cf6fCopy full SHA for a93cf6f
lib/parseQuery.js
@@ -26,7 +26,7 @@ function parseQuery(query) {
26
}
27
28
const queryArgs = query.split(/[,&]/g);
29
- const result = {};
+ const result = Object.create(null);
30
31
queryArgs.forEach((arg) => {
32
const idx = arg.indexOf('=');
0 commit comments