I discovered a nice feature in the Chrome Developer Tools.
Let’s imagine that you got an array of products from an AJAX web service call:
var products = [
{ name: "XBOX", price: "200 $" },
{ name: "Playstation", price: "180 $" },
{ name: "Nintendo", price: "100 $" }
];
If you log this array to the console using console.log() , you don’t get anything useful back:
A nicer alternative is the usage of console.table(), which gives you the following result: