Logging a function/class
or a flat object/array
results in logging a string representation (with no dropdown ► icon).
Logging complex objects (with own non-scalar properties) results in having hierarchical representation:
I would prefer to have the latter behaviour for all logged objects - both things that are typed in console and things that are logged with console.log.
For this reason only Firebug console output looks much more beneficial than Chrome dev tools.
I'm aware of console.dir, though it is inefficient to type console.dir(someVar) instead of someVar in console, and it is not appropriate to replace all console.log occurrences with console.dir in existing apps.
Other console methods (console.warn, console.error) have the same problem as console.log, but they don't have console.dir counterpart for them!
Can this Chrome dev tools behaviour be changed? Is there something that can help with this problem?



consoleobject and it's functions. Personally, I won't really consider this that big of a problem to throw more than few minutes of effort into it and that seems like too much to really bother with. It might be that there is a library that replaces the vanillaconsolebut I've not really sought one out.console.dir(someVar), you can just typedir(someVar)