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 <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
  • Loading branch information
obelaifa authored and targos committed Dec 1, 2019
1 parent 938b894 commit 640cde1
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 640cde1

Please sign in to comment.