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 <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
  • 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.