Pretty table output of arrays of objects with console.table()

Use console.table(arrayOfObjects) to output a table in your console. Your mileage may vary from console to console but in Chromium, you get a sortable/orderable table directly in the console.

It prints every key of the object as a column, but yiou can specify which key/s show as the second argument. Either as console.table(arrayOfObjects, 'title') or console.table(arrayOfObjects, [“title”, “name”])`