Skip to main content

console.table(tabularData)

Clear the entire console screen.

Status: unstable
Returns: void

Parameters

NameTypeDescription
tabularDataanyThe data to be displayed on the screen (tabular data will be better displayed)

Example usage

console.table([{a: 1}, {a: 2}, {a: 3}]);

Extra behaviors

  • All console.log extra behaviors
ConditionConsequenceWorkaround
⛔ Method console.table not displaying the data correctly and throwing errorEntire method not working properlySee issue #252
Passing non-tabular data as argumentThe data will be displayed normally as console.log does-