proposal-array-last icon indicating copy to clipboard operation
proposal-array-last copied to clipboard

Use lastElement instead of lastItem

Open Thomasan1999 opened this issue 6 years ago • 1 comments

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

Thomasan1999 avatar Feb 28 '19 13:02 Thomasan1999

Relates to https://github.com/keithamus/proposal-array-last/issues/20

trotyl avatar Mar 01 '19 09:03 trotyl