summaryrefslogtreecommitdiff
path: root/lib/querystring.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/querystring.js')
-rw-r--r--lib/querystring.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/querystring.js b/lib/querystring.js
index 1533c8d87b..1976c8e125 100644
--- a/lib/querystring.js
+++ b/lib/querystring.js
@@ -25,7 +25,6 @@
const { Buffer } = require('buffer');
const {
- StorageObject,
hexTable,
isHexTable
} = require('internal/querystring');
@@ -281,7 +280,7 @@ const defEqCodes = [61]; // =
// Parse a key/val string.
function parse(qs, sep, eq, options) {
- const obj = new StorageObject();
+ const obj = Object.create(null);
if (typeof qs !== 'string' || qs.length === 0) {
return obj;