Chrome's console commands

As if the JavaScript console in Chrome couldn’t be any more awesome. Check it out: Command Line API Reference. Yep, it’s legit. I’ve been using Firebug and the like for years and only just ran across this feature of Chrome’s JavaScript console.

My favorite: getEventListeners. Understanding how the DOM is augmented with listeners is amazingly helpful!

All you have to do is fire up the JavaScript Console in Chrome and in the actual console window, you have a host a commands you can execute now just like you have in any other terminal app. Very helpful!

Notice to our Readers
We're now using social media to take your comments and feedback. Learn more about this here.