summaryrefslogtreecommitdiff
path: root/benchmark/util/type-check.js
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/util/type-check.js')
-rw-r--r--benchmark/util/type-check.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/util/type-check.js b/benchmark/util/type-check.js
index f11471980d..5b992e729e 100644
--- a/benchmark/util/type-check.js
+++ b/benchmark/util/type-check.js
@@ -45,7 +45,7 @@ function main({ type, argument, version, n }) {
const arg = args[type][argument];
bench.start();
- for (var i = 0; i < n; i++) {
+ for (let i = 0; i < n; i++) {
func(arg);
}
bench.end(n);