test: cleanup/update test-dgram-empty-packet.js
Checklist
-
make -j8 test
(UNIX), orvcbuild test nosign
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
- test
Description of change
- Changed some
var
toconst
andlet
- Changed
==
to===
for clarity.