Press "Enter" to skip to content

Print array of objects in table

Sharing is caring!

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.

Comments are closed.