benchmark: use let and const instead of var
Use let and const in domain, es, events, fixtures, fs, http, http2 and misc.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
I tried to run the modified benchmarks and a few of them are failing: