assert: improve assertion error inspection
Please have a look at the commit messages for a detailed description. This is based on https://github.com/nodejs/node/pull/28055 and that should land before this PR.
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