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.

naming about end #11

Closed
Closed
@mysticatea

Description

@mysticatea

end is well-known as the location of the next of the last element. For example, end is used as the end (exclusive) of range in Array.prototype.slice(start, end) and Array.prototype.fill(value, start, end).
So I think that anArray.end may cause confusion. Especially, anArray.end = 1 looks like the assignment to the next of the last element.

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