summaryrefslogtreecommitdiff
path: root/benchmark/util
diff options
context:
space:
mode:
authorRuben Bridgewater <ruben@bridgewater.de>2017-09-13 22:48:53 -0300
committerRuben Bridgewater <ruben@bridgewater.de>2017-09-19 21:14:38 -0300
commite167ab71fb113fa38866dd11aa99af7079fb463c (patch)
tree3d91ca0f6e60d08fcab70833b851335e41b53cd0 /benchmark/util
parentb1c8f15c5f169e021f7c46eb7b219de95fe97603 (diff)
downloadandroid-node-v8-e167ab71fb113fa38866dd11aa99af7079fb463c.tar.gz
android-node-v8-e167ab71fb113fa38866dd11aa99af7079fb463c.tar.bz2
android-node-v8-e167ab71fb113fa38866dd11aa99af7079fb463c.zip
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>
Diffstat (limited to 'benchmark/util')
-rw-r--r--benchmark/util/inspect.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/benchmark/util/inspect.js b/benchmark/util/inspect.js
index 1cf889d7ee..913850690c 100644
--- a/benchmark/util/inspect.js
+++ b/benchmark/util/inspect.js
@@ -1,14 +1,14 @@
'use strict';
-var util = require('util');
+const util = require('util');
-var common = require('../common.js');
+const common = require('../common.js');
const opts = {
showHidden: { showHidden: true },
colors: { colors: true },
none: undefined
};
-var bench = common.createBenchmark(main, {
+const bench = common.createBenchmark(main, {
n: [2e6],
method: [
'Object',