benchmark: var to const

PR-URL: https://github.com/nodejs/node/pull/13757
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
This commit is contained in:
Ruben Bridgewater
2017-09-13 22:48:53 -03:00
parent b1c8f15c5f
commit e167ab71fb
120 changed files with 682 additions and 682 deletions

View File

@@ -79,7 +79,7 @@ function main(conf) {
}
}
var nChunks = chunks.length;
const nChunks = chunks.length;
bench.start();
for (i = 0; i < n; ++i) {