summaryrefslogtreecommitdiff
path: root/benchmark/arrays/zero-float.js
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/arrays/zero-float.js')
-rw-r--r--benchmark/arrays/zero-float.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/arrays/zero-float.js b/benchmark/arrays/zero-float.js
index d61b0598a4..c8d7dbf7ed 100644
--- a/benchmark/arrays/zero-float.js
+++ b/benchmark/arrays/zero-float.js
@@ -23,7 +23,7 @@ function main(conf) {
const n = +conf.n;
bench.start();
- var arr = new clazz(n * 1e6);
+ const arr = new clazz(n * 1e6);
for (var i = 0; i < 10; ++i) {
run();
}