O'Reilly logo
  • Ahmed Elgendy thinks this is interesting:

Can I use console.log to display an object in the console?

A:

A: You can. Just write:

console.log(fiat);

in your code, and when you load the page with the console open, you’ll see information about the object displayed in the console.

From

Cover of Head First JavaScript Programming

Note

how to display the information about your object?