title: How to inspect Javascript Objects
body: <p>How can I inspect an Object in an alert box? Normally alerting an Object just throws the nodename:</p>
  
  <pre><code>alert(document);
  </code></pre>
  
  <p>But I want to get the properties and methods of the object in the alert box. How can I achieve this functionality, if possible? Or are there any other suggestions?</p>
  
  <p>Particularly, I am seeking a solution for a production environment where console.log and Firebug are not available.</p>