lib: replace var with let/const
Replacing all vars into let/const in lib/internal/modules/cjs/loader.js
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Do not update/delete: Banner broadcast message test data
Do not update/delete: Notification broadcast message test data
Replacing all vars into let/const in lib/internal/modules/cjs/loader.js
make -j4 test
(UNIX), or vcbuild test
(Windows) passes