From b25381ae3c1c769669d425e74f69537fd48f55a3 Mon Sep 17 00:00:00 2001 From: mbj36 Date: Thu, 6 Jun 2019 03:13:30 +0530 Subject: [PATCH] lib: replace var with let --- lib/internal/bootstrap/loaders.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/internal/bootstrap/loaders.js b/lib/internal/bootstrap/loaders.js index 7a98e4c96c87d4..2889df4812bb03 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);