Skip to content

Commit 640cde1

Browse files
obelaifatargos
authored andcommitted
lib: changed var to let
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]>
1 parent 938b894 commit 640cde1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/repl/await.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ function processTopLevelAwait(src) {
100100
body,
101101
ancestors: [],
102102
replace(from, to, str) {
103-
for (var i = from; i < to; i++) {
103+
for (let i = from; i < to; i++) {
104104
wrappedArray[i] = '';
105105
}
106106
if (from === to) str += wrappedArray[from];

0 commit comments

Comments
 (0)