test: add testcases for getConstructorOf in internal/util.js
Added testcases for getConstructorOf about null and some objects, to achieve full statements coverage of internal/util.js.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines