What is the difference between using these two methods to extract the first item in a collection?
Adapted from jQuery 1.7.1 source code :
,first:function(){return this.eq(0)},last:function(){return this.eq(-1)}
Since you suspected .first() is just a wrapper calling .eq() .
.first()
.eq()
Conclusion: no difference. :)
As far as I know, there is no difference.