Skip to content

Commit

Permalink
lib: changed var to let
Browse files Browse the repository at this point in the history
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 Dec 17, 2019
1 parent 6974f26 commit 96c0615
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/repl/await.js
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 96c0615

Please sign in to comment.