Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/url/url-searchparams-stringifier.js')
-rw-r--r--benchmark/url/url-searchparams-stringifier.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/url/url-searchparams-stringifier.js b/benchmark/url/url-searchparams-stringifier.js
index 2979064b322..1a2f6777276 100644
--- a/benchmark/url/url-searchparams-stringifier.js
+++ b/benchmark/url/url-searchparams-stringifier.js
@@ -1,7 +1,7 @@
'use strict';
const common = require('../common.js');
const Buffer = require('buffer').Buffer;
-const URLSearchParams = new (require('url').URL)('a:').searchParams.constructor;
+const { URLSearchParams } = require('url');
const inputs = {
noencode: 'foo=bar&baz=quux&xyzzy=thud',