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}])


Read more here:

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s