internal: change var to const in internal/child_process.js
Checklist
-
make -j4 test
(UNIX), orvcbuild test nosign
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
internal
Description of change
Changed var to const where needed. Part of https://github.com/nodejs/code-and-learn/issues/56