test: modernize JS and tighten equality checking in test-child-process-cwd
Checklist
-
make -j4 test
(UNIX), orvcbuild test nosign
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
test
Description of change
Changed var --> const and let. Changed assert.notEqual --> assert.notStrictEqual Fixed comment spelling Took as part of nodejs/code-and-learn#56