Skip to content
Prev Previous commit
Next Next commit
benchmark: use let instead of var in dns
  • Loading branch information
dnlup committed Feb 14, 2020
commit 3e0e71b1a30de3d2d164f2602b82972cda8b9725
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