Skip to content

Confusing "matching" wording in first(), slice(), others #127

@pobocks

Description

@pobocks

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()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions