summaryrefslogtreecommitdiff
path: root/benchmark/http/check_is_http_token.js
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/http/check_is_http_token.js')
-rw-r--r--benchmark/http/check_is_http_token.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/benchmark/http/check_is_http_token.js b/benchmark/http/check_is_http_token.js
index 9e0b8279b5..92df3445b4 100644
--- a/benchmark/http/check_is_http_token.js
+++ b/benchmark/http/check_is_http_token.js
@@ -41,8 +41,8 @@ const bench = common.createBenchmark(main, {
});
function main(conf) {
- var n = +conf.n;
- var key = conf.key;
+ const n = +conf.n;
+ const key = conf.key;
bench.start();
for (var i = 0; i < n; i++) {