Re: Proposal: Property Accessor Function Shorthand

2019-12-07 Thread sup
> > > I do find it surprising that property access isn't addressed there, > > > but it seems like it was likely just overlooked - it has no mention in > > > the repo, in the open issues, or even in the closed issues or any of > > > the open or closed pull requests. Actually, they do seem to address

Re: Proposal: Property Accessor Function Shorthand

2019-12-07 Thread Bob Myers
Can you clarify in what sense you see this as a special case of that proposal? To put it in very simple terms, we would like to do something like `array.map(.name)`. On Tue, Dec 3, 2019 at 3:33 AM Isiah Meadows wrote: > BTW, all this is very much just a special case of this (existing stage > 1)

proposal-array-nth-last: array[^n] syntax

2019-12-07 Thread Cyril Auburtin
https://github.com/caub/proposal-array-nth-last This is mostly in reaction of https://github.com/keithamus/proposal-array-last. The initial idea is great, but the approach in that proposal is quite limited, cumbersome I'm happy if someone can help writing some ES spec for it _