Skip to content
Permalink
Browse files

lib: changed var to let

PR-URL: #30427
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
  • Loading branch information
obelaifa authored and MylesBorins committed Nov 12, 2019
1 parent 6974f26 commit 96c061552d9af1faf2e77ae88fa2d27dcb2570d8
Showing with 1 addition and 1 deletion.
  1. +1 −1 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];

0 comments on commit 96c0615

Please sign in to comment.
You can’t perform that action at this time.