JavaScript kind of redefines what an Array means because an array is an object with a .length
property and methods like .slice()
and .join()<
the jQuery object is an object which has
The length and numeric properties allow the object to respond like an array. You can run it in a for
loop or use functions like map
or each
on it.
I would recommend using your browser's debugger or Firebug and inspect a jQuery object. That will teach you a lot about how it is structured.