JavaScript kind of redefines what an Array means because an array is an object with a .length
property and methods like .slice()
and .join()
.
jQuery defines a jQuery object as "Array like", because it has a length
property but it doesn't have certain array methods like join()
.
If I were to define the jQuery object as an object, and forget about mentioning anything to do with an array, how would I define it? What properties does it have besides length?
I guess all the methods are what you see in the documentation, far exceeding the number of methods that are in an array.