I thought jquery was returning an array when selecting something. But it does not look like that:
With this html:
<p>A</p>
<p>B</p>
<p>C</p>
And this js:
var p = $('p');
console.log(Array.isArray(p)); // result is false
See JSFiddle Then the selected paragraphs are not in an array. Why is that?