Skip to content
This repository was archived by the owner on Mar 10, 2024. It is now read-only.
This repository was archived by the owner on Mar 10, 2024. It is now read-only.

Use lastElement instead of lastItem #24

@Thomasan1999

Description

@Thomasan1999

There was a similar proposal to use lastElement as an alias which I agree is not a good idea, the function should have a single name which should be lastElement. ECMAScript Language Specification uses the term element instead of an item and it is generally more known as an element.

Source:
https://www.ecma-international.org/ecma-262/5.1/#sec-11.1.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions