console.table is indeed a great tool to display data. Just to add, I find that console.dir is an underrated and often misunderstood method of the Console API. It's quite useful when you not only want to see the value of, let's say, a string but also its properties and methods.
Also, for those interested, these posts give great tips on how to better debug your code.
This is so good! Thanks!
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.