test: modernized JS and tighten equality checking in test-eval.js
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 assert.equal -> assert.strictEqual Cleanup according to nodejs/code-and-learn#56