Press "Enter" to skip to content

Print array of objects in table

Console is the favorite tool for the web developer. It’s the best one for debug.

And the best one is console.log.

Instead of console.log(array_of_objects) which prints out

we can use console.table(array_of_objects)

which prints

Everything is awesome.


Leave a Reply

Your email address will not be published.