title: jQuery and Array isArray are not working correctly?
body: <p>jQuery and Array <code>isArray</code> are not working correctly</p>
  
  <p>If I do:</p>
  
  <pre><code>var tags = document.getElementsByTagName('div');
  
  jQuery.isArray(tags) // returns false
  Array.isArray(tags)  // returns false
  
  function isArray(object){
    return typeof object === "object" &amp;&amp; object.length &gt; -1;
  }
  
  isArray(tags) // return true
  </code></pre>
  
  <p>This issue causes an actual bug on my website:</p>
  
  <p>On my website I have a form tag with inputs name "plan".</p>
  
  <p>If I only have one input name "plan", it will return an none array.</p>
  
  <p>But if I have two inputs and both have name "plan", it will return an array.</p>
  
  <p>I used <code>jQuery.isArray</code> to check if it's an array or not but was forced to abandon using jQuery isArray.</p>
  
  <p>People commented that it's nodelist but the usage of nodelist is exactly like an array. So under what circumstances you would actually want to avoid it to use like an array?</p>