title: Why does typeof array with objects return "object" and not "array"?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/4775722/javascript-check-if-object-is-array">JavaScript: Check if object is array?</a>  </p>
  </blockquote>
  
  
  
  <p>Why is an array of objects considered an object, and not an array? For example:</p>
  
  <pre><code>$.ajax({
      url: 'http://api.twitter.com/1/statuses/user_timeline.json',
      data: { screen_name: 'mick__romney'},
      dataType: 'jsonp',
      success: function(data) {
          console.dir(data); //Array[20]
          alert(typeof data); //Object
      }
  });​
  </code></pre>
  
  <p><a href="http://jsfiddle.net/6JCcj/" rel="noreferrer">Fiddle</a></p>