summaryrefslogtreecommitdiff
path: root/benchmark/buffers/buffer_zero.js
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/buffers/buffer_zero.js')
-rw-r--r--benchmark/buffers/buffer_zero.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/buffers/buffer_zero.js b/benchmark/buffers/buffer_zero.js
index e624bbbcd4..06ca50bbb9 100644
--- a/benchmark/buffers/buffer_zero.js
+++ b/benchmark/buffers/buffer_zero.js
@@ -11,7 +11,7 @@ const zeroBuffer = Buffer.alloc(0);
const zeroString = '';
function main(conf) {
- var n = +conf.n;
+ const n = +conf.n;
bench.start();
if (conf.type === 'buffer')