Console does more than just .log()

The Javascript console is an incredibly useful thing. I use it all the time when I’m debugging, either to show where things have gotten to (without using popup alerts, argh), or to print out variables. But it does more than just the .log(); function.

But there’s a lot more you can do with it. The one I use most often is .group(); and .groupEnd(); I have to add that I don’t use .groupCollapsed(); as much as I should.

Anyhow, The CSS Ninja does a much better job of talking about this than I can right now. I’m being bombarded by bad music at way to high a volume, so I’m just going to drop the link here.

Leave A Comment


This site uses Akismet to reduce spam. Learn how your comment data is processed.