We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d95b8b5 commit 4504e34Copy full SHA for 4504e34
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