title: jQuery.each() undefined issue
body: <p>I have the following code</p>
  
  <pre><code>function myFunction(items) {
     // this prints out 11
     alert(items.length);
  
     $(items).each(function(i, item) {
         // item is undefined for some reason
     }
  }
  </code></pre>
  
  <p>It I alert the length of items, it has elements in it (11 to be exact). so how could 11 items be present, but jQuery still pass undefined?</p>