JavaScript inspect/dump made easy

Was ever looking for JavaScript equivalent of PHP’s var_dump() or Ruby’s inspect (or p or pp or y or… etc)?

Forget it! You have it by your hand available in Chrome developer tools and Firefox’s firebug. Just type it into console and you get beautifuly browseable dump.

Chrome:

Firefox:

  1. by sobstel • June 2011 • blog archive