My Logs.

Building. Thinking. Writing.

Go back

The Power of console.table()

1 min read Edit page

Stop using console.log() for arrays and objects.

Use console.table() instead:

const users = [
  { name: 'Alice', age: 25 },
  { name: 'Bob', age: 30 }
];

console.table(users);

You’ll get a beautiful formatted table in your console.

Game changer for debugging.


Edit page