-
Notifications
You must be signed in to change notification settings - Fork 30.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: console.table doesn't print #24909
Comments
Just tried on |
The functionality was only added in 10.0.0, see https://nodejs.org/api/console.html#console_console_table_tabulardata_properties |
this is not a bug. console.table was a no-op until v10 (and was also backported to v9) note that in the versions before it was implemented in node, it will still print out the console table in the chrome devtools inspector. |
if it wasn't introduced until v10 |
@maddhruv V8 engine has its own console which outputs to the inspector console, which is what was directly exposed. (see https://nodejs.org/api/console.html#console_inspector_only_methods) |
This is an 8.x documentation bug IMO. It ought to be listed in the 8.x docs but it is not. It's in the 9.x docs and even says that it was added in 8.0.0 there: https://nodejs.org/docs/latest-v9.x/api/console.html#console_console_table_array_columns |
The docs were added in #17004 but that PR got a I've removed the label and hopefully that means it ends up in the next v8.x release. See #17004 (comment) |
Given the above, I'm going to close this, but if you think it should remain open until the next 8.x release, leave a comment or (if GitHub lets you) re-open. |
The text was updated successfully, but these errors were encountered: