diff options
author | Alex Ramirez <alexander.ramirez@gmail.com> | 2019-07-31 16:26:38 +0300 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2020-02-13 23:38:00 +0300 |
commit | d0ed4310412e0848a8b071cb04b49e22e9a633a5 (patch) | |
tree | 5ecf12ace6cbfce0c5767c53fac3ef210450e0a4 /benchmark/tls/tls-connect.js | |
parent | 9e805b1fbf3ae7658dfbf2aca22d6d2f1e099474 (diff) |
benchmark: swap var for let in benchmarks
In benchmark directory this changes for loops
using var to let when it applies for consistency
PR-URL: https://github.com/nodejs/node/pull/28958
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'benchmark/tls/tls-connect.js')
-rw-r--r-- | benchmark/tls/tls-connect.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/tls/tls-connect.js b/benchmark/tls/tls-connect.js index 4300f6841f0..1cb04d98a52 100644 --- a/benchmark/tls/tls-connect.js +++ b/benchmark/tls/tls-connect.js @@ -31,7 +31,7 @@ function main(conf) { function onListening() { setTimeout(done, dur * 1000); bench.start(); - for (var i = 0; i < concurrency; i++) + for (let i = 0; i < concurrency; i++) makeConnection(); } |