The console.dir() static method displays a list of the properties of the specified JavaScript object.
console.dir()
MDN Reference