Skip to content
Permalink
Browse files

lib: replace var with let in loaders.js

PR-URL: #28081
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
  • Loading branch information...
mbj36 authored and targos committed Jun 5, 2019
1 parent 391fe46 commit 464136fbc2d758657d36f384790a40b74eb17971
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/internal/bootstrap/loaders.js
@@ -174,7 +174,7 @@ const {
} = internalBinding('native_module');

NativeModule.map = new Map();
for (var i = 0; i < moduleIds.length; ++i) {
for (let i = 0; i < moduleIds.length; ++i) {
const id = moduleIds[i];
const mod = new NativeModule(id);
NativeModule.map.set(id, mod);

0 comments on commit 464136f

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