summaryrefslogtreecommitdiff
path: root/benchmark/es/foreach-bench.js
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/es/foreach-bench.js')
-rw-r--r--benchmark/es/foreach-bench.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/es/foreach-bench.js b/benchmark/es/foreach-bench.js
index fea5318bc6..26c741b706 100644
--- a/benchmark/es/foreach-bench.js
+++ b/benchmark/es/foreach-bench.js
@@ -14,7 +14,7 @@ function useFor(n, items, count) {
for (i = 0; i < n; i++) {
for (j = 0; j < count; j++) {
/* eslint-disable no-unused-vars */
- var item = items[j];
+ const item = items[j];
/* esline-enable no-unused-vars */
}
}