From f82d9872ba0e029ae23d229a716cdcf573eee467 Mon Sep 17 00:00:00 2001 From: David Majda Date: Tue, 4 Oct 2016 20:25:39 +0200 Subject: [PATCH] Replace stray "var" by "let" Likely missed in bdf91b594171529138a3e278809993168688ca16. --- lib/compiler/passes/generate-js.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/compiler/passes/generate-js.js b/lib/compiler/passes/generate-js.js index c35d8c4..4cc64a3 100644 --- a/lib/compiler/passes/generate-js.js +++ b/lib/compiler/passes/generate-js.js @@ -428,7 +428,7 @@ function generateJS(ast, options) { } else { let values = Array(n); - for (var i = 0; i < n; i++) { + for (let i = 0; i < n; i++) { values[i] = s(this.sp - n + 1 + i); }