diff options
author | mbj36 <mohitbajo36@gmail.com> | 2019-06-06 00:43:30 +0300 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2019-07-31 01:43:11 +0300 |
commit | 863402e4f236bc8097c8a408de437f0b8f082bc2 (patch) | |
tree | 394a90d74d065e46b3a8ecb2e3be809c7e9db255 /lib/internal/bootstrap | |
parent | 9140f62c22e7bd7ab04b283921cde0c320174d71 (diff) |
lib: replace var with let in loaders.js
PR-URL: https://github.com/nodejs/node/pull/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>
Diffstat (limited to 'lib/internal/bootstrap')
-rw-r--r-- | lib/internal/bootstrap/loaders.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/internal/bootstrap/loaders.js b/lib/internal/bootstrap/loaders.js index 7a98e4c96c8..2889df4812b 100644 --- a/lib/internal/bootstrap/loaders.js +++ b/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); |