JavaScript console.table()

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 parameterĀ columns.

In Chrome Developer Tools

console.table([{name: 'jason', age: 36}, {name: 'abid', age: 37}])

IMG_13122017_160135_0

Read more here:

https://developer.mozilla.org/en-US/docs/Web/API/Console/table