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 09792f038a..81b9731c0a 100644
--- a/benchmark/buffers/buffer-zero.js
+++ b/benchmark/buffers/buffer-zero.js
@@ -14,6 +14,6 @@ function main({ n, type }) {
const data = type === 'buffer' ? zeroBuffer : zeroString;
bench.start();
- for (var i = 0; i < n; i++) Buffer.from(data);
+ for (let i = 0; i < n; i++) Buffer.from(data);
bench.end(n);
}