More to the Console than just Log
Published Friday, January 04, 2008 in Development
I just recently found out that the Firebug console has quite a lot more to offer than just its log-method.
If you want to dump an entire object you can use console.dir() (works very similar to PHP's var_dump() if you're familiar with it).
You can also time the execution of a certain part of your script by running console.time('Timing this and that'); and console.timeEnd();
There's even more goodness so check out Firebug and Logging unless you have already, and sorry if this is old news to you.





