Given that you can access a jQuery object's members using array-like bracket syntax: $myjQueryObject[0]
, it seems like jQuery extends the built-in Array
object. However, I can't seem to find where they do this, in the jquery.js
file.
I've successfully accomplished something similar by extending the Array
'class', just curious how jQuery does it!