test: cleanup/update test-dgram-error-message-address.js
Checklist
-
make -j8 test
(UNIX), orvcbuild test nosign
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
test dgram
Description of change
test: cleanup/update test-dgram-error-message-address.js
* Changed some var to const
* This commit resolves #8925