This is a gem….
Displays tabular data as a table.
This function takes one mandatory argument
data
, which must be an array or an object, and one additional optional parametercolumns
.
In Chrome Developer Tools
console.table([{name: 'jason', age: 36}, {name: 'abid', age: 37}])
Read more here:
https://developer.mozilla.org/en-US/docs/Web/API/Console/table