This is a bit nasty since you have to click open the object to see what's inside. A better way to log your objects and arrays is to use console.table().
console.table() takes an object or array as parameter and prints a very nice table of the data. This is what the previous example looks like with console.table():
Hope this helps you at least a bit with your debugging efforts!
So whip out your dev tools and give it a try yourself or play with it in codesandbox by clicking below!
If you have questions or something to add, feel free leave a comment below!