title: Find out Object type in JavaScript?
body: <p>I am trying to debug some JQuery <code>ajaxSetUp</code> behaviour. I set a timeout value and wish to see it set in the debugger. To do this I need to know what to watch while debugging.  To investigate where the timeout is set, I do the following in a firefox console:</p>
  
  <pre><code>var obj = jQuery.ajaxSetup({
      timeout: 120000
  });
  console.log("obj=" + obj.timeout)
  </code></pre>
  
  <p>I want to find out what type of object <code>obj</code> is?  I know JavaScript is dynamically typed but if I can find out what object it is then I know what to add a watch to when debugging.</p>