console.log() vs console.table()
The difference is that the
console.log() method prints the result in the web console or on the screen. It will print all values in the tree with the data types
console.table() method prints the only values in the visual table with their index number. It shows the values in a well-structured table format.
Being Tricky 😉