Skip to content

Commit 93b3997

Browse files
dnlupaddaleax
authored andcommitted
benchmark: use let instead of var in dns
PR-URL: #31794 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
1 parent 54c6219 commit 93b3997

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmark/dns/lookup.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const bench = common.createBenchmark(main, {
1010
});
1111

1212
function main({ name, n, all }) {
13-
var i = 0;
13+
let i = 0;
1414

1515
if (all === 'true') {
1616
const opts = { all: true };

0 commit comments

Comments
 (0)