hax/proposal-index-from-end

Naming concerns: should be `findLast()` or `findFromEnd()`, not `findFromLast()`

Closed this issue · 1 comments

"last" refers to a position in an ordered list, "end" refers to a direction; we use these terms consistently in the existing array and string functions.

So if we want to use "last", the function name needs to be referring to an index: findLast(). Or we can keep the directional findFromX() spelling, but need to switch to a directional word: findFromEnd().

apologies, dropped this into the wrong repo ^_^