Example 1 — Example
Typical call.
JavaScript
console.table([{name:"Ada",id:1},{name:"Lin",id:2}]);How It Works
- Run the snippet.
- Read the printed output.
console.table() prints arrays/objects as a table in DevTools.
console.table([{name:"Ada",id:1},{name:"Lin",id:2}]);Typical call.
console.table([{name:"Ada",id:1},{name:"Lin",id:2}]);CODETOFUN NEWS
Get the latest IT news, programming updates, and technology trends directly on your phone.
Your daily dose of tech, straight to your feed.
6 people found this page helpful