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

Use lastElement instead of lastItem #24

Open
Thomasan1999 opened this issue Feb 28, 2019 · 1 comment
Open

Use lastElement instead of lastItem #24

Thomasan1999 opened this issue Feb 28, 2019 · 1 comment

Comments

@Thomasan1999
Copy link

Thomasan1999 commented Feb 28, 2019

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

@trotyl
Copy link

trotyl commented Mar 1, 2019

Relates to #20

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants