From e167ab71fb113fa38866dd11aa99af7079fb463c Mon Sep 17 00:00:00 2001 From: Ruben Bridgewater Date: Wed, 13 Sep 2017 22:48:53 -0300 Subject: benchmark: var to const MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/13757 Reviewed-By: Matteo Collina Reviewed-By: James M Snell Reviewed-By: Luigi Pinca Reviewed-By: Gibson Fahnestock Reviewed-By: Tobias Nießen --- benchmark/process/next-tick-breadth-args.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'benchmark/process/next-tick-breadth-args.js') diff --git a/benchmark/process/next-tick-breadth-args.js b/benchmark/process/next-tick-breadth-args.js index 941408f2ed..cc038dd348 100644 --- a/benchmark/process/next-tick-breadth-args.js +++ b/benchmark/process/next-tick-breadth-args.js @@ -1,12 +1,12 @@ 'use strict'; -var common = require('../common.js'); -var bench = common.createBenchmark(main, { +const common = require('../common.js'); +const bench = common.createBenchmark(main, { millions: [2] }); function main(conf) { - var N = +conf.millions * 1e6; + const N = +conf.millions * 1e6; var n = 0; function cb1(arg1) { -- cgit v1.2.3