src: replace var for let / const.
Replace var
for let
or const
depending on the case.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
async_hooks, bootstrap_node, readline