util: inspect prototype properties if `showHidden` is truthy
Please have a look at the commit messages for details.
I marked this as semver-major. We might also handle it as semver-minor instead but I wanted to be on the safe side. Please weight in case someone would like this to change.
I tried hard to implement this with the least performance overhead possible and I believe this is pretty much it.
Fixes: #30183 (closed)
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