The documentation for first begins: "Given a jQuery object that represents a set of DOM elements, the .first() method constructs a new jQuery object from the first matching element."
The "first matching element" implies that first takes a selector and does matching, when it is strictly a slice into the array. Several functions share this wording issue - please add more in comments as found.
first()
last()
slice()
The documentation for first begins: "Given a jQuery object that represents a set of DOM elements, the .first() method constructs a new jQuery object from the first matching element."
The "first matching element" implies that first takes a selector and does matching, when it is strictly a slice into the array. Several functions share this wording issue - please add more in comments as found.
first()
last()
slice()