From 96c061552d9af1faf2e77ae88fa2d27dcb2570d8 Mon Sep 17 00:00:00 2001 From: Oliver Belaifa Date: Tue, 12 Nov 2019 15:04:37 +0000 Subject: [PATCH] lib: changed var to let MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/30427 Reviewed-By: James M Snell Reviewed-By: Anna Henningsen Reviewed-By: Michaƫl Zasso Reviewed-By: Colin Ihrig Reviewed-By: Gireesh Punathil Reviewed-By: Ruben Bridgewater Reviewed-By: Trivikram Kamat --- lib/internal/repl/await.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/internal/repl/await.js b/lib/internal/repl/await.js index ed58e89529ad3b..1c7dba2efdf2d6 100644 --- a/lib/internal/repl/await.js +++ b/lib/internal/repl/await.js @@ -100,7 +100,7 @@ function processTopLevelAwait(src) { body, ancestors: [], replace(from, to, str) { - for (var i = from; i < to; i++) { + for (let i = from; i < to; i++) { wrappedArray[i] = ''; } if (from === to) str += wrappedArray[from];