Automator Javascript - see console.log output

I'm trying to get all object properties and I use

console.log(object)

But I don't understand where to find output? Is there a special Automator function for logging?


UPD

Using script editor. Calling console.log(object) just output type of object. Is there a way to see list of all properties/values like in web inspector?

enter image description here enter image description here


A simple solution that will work in most cases is to just use JSON.stringify(obj) to see the object as a string in the console.