I agree, this is a reasonable addition, however:

On Tue, May 13, 2014 at 2:54 PM, Dmitry Soshnikov <
[email protected]> wrote:

> Hi,
>
> Exactly at the moment I'm writing too many of
>
>   entries[entries.length - 1]
>
> where `entries` is an array (with of course moving to a helper
> function/prototype method).
>
> Will it make sense to add it now to ES6?
>

No, ES6 is closed for all new features—but you should absolutely write up a
proposal (gist is fine, here are examples:
https://gist.github.com/rwaldron/11186883,
https://gist.github.com/WebReflection/9353781) and submit a PR to:
https://github.com/tc39/ecma262

Rick
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to