Proposal: Selector/Select Expression
guest271314 at gmail.com
Fri Jun 28 00:08:30 UTC 2019
The space character/no space character would probably only be a limiting
factor for golf. The differennces should be clearly explained (at each
proposal, eventual specification) for disambiguation nonetheless.
On Thu, Jun 27, 2019 at 8:48 PM Bob Myers <rtm at gol.com> wrote:
> Not exactly, since the optional chaining operator is `?.` with no space in
> On Thu, Jun 27, 2019 at 1:37 PM Simon Farrugia <simonfarrugia26 at gmail.com>
>> Also, without a leading token, a selector expr with the optional chaining
>> operator inside a ternary operator would be ambiguous.
>> const contactSelector = true ? .contacts.email : .contacts.phone;
> es-discuss mailing list
> es-discuss at mozilla.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss