Not exactly, since the optional chaining operator is `?.` with no space in
between.

On Thu, Jun 27, 2019 at 1:37 PM Simon Farrugia <simonfarrugi...@gmail.com>
wrote:

> 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@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to