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:
xxxxxxxxxx
1
const users = [
2
{ name: 'Tom', age: 25 },
3
{ name: 'Ann', age: 18 },
4
{ name: 'Kate', age: 31 },
5
];
6
7
console.table(users);

