lib: scope loop variables
Refactor instances in `lib` where a loop variable is redeclared in the same scope with `var`. In these cases, `let` can be used to scope the variable declarations more precisely. PR-URL: https://github.com/nodejs/node/pull/4965 Reviewed-By:Brian White <mscdex@mscdex.net> Reviewed-By:
James M Snell <jasnell@gmail.com>
parent
1684957f
Please register or sign in to comment