EN
JavaScript - display table in the console
0
points
In this article, we would like to show you how to display a table in the console using JavaScript.
Quick solution:
const users = [
{ name: 'Tom', age: 25 },
{ name: 'Ann', age: 18 },
{ name: 'Kate', age: 31 },
];
console.table(users);
Practical examples
1. Using Google Chrome developer tools

2. Using Node.js in VS Code
