console: fix console.table() display edge case
If the properties are not specified in console.table()
, then we should
make a best effort to determine them rather than put all values into a
"Values" column.
Refs: https://github.com/nodejs/node/pull/20318#pullrequestreview-115429094
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines
@devsnek