Archives for Friday, January 4th, 2008
You are currently browsing 1 article(s) published on Friday, January 4th, 2008, please try the search if you can't fint what you're looking for.
More to the Console than just Log
Friday, January 04, 2008
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.
- Comments are off
- Filed under Development





