Skip to content

Commit

Permalink
benchmark: use let instead of var in dns
Browse files Browse the repository at this point in the history
PR-URL: #31794
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
  • Loading branch information
dnlup authored and addaleax committed Mar 30, 2020
1 parent 54c6219 commit 93b3997
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmark/dns/lookup.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const bench = common.createBenchmark(main, {
});

function main({ name, n, all }) {
var i = 0;
let i = 0;

if (all === 'true') {
const opts = { all: true };
Expand Down

0 comments on commit 93b3997

Please sign in to comment.