Existential Operator / Null Propagation Operator

Isiah Meadows isiahmeadows at gmail.com
Fri Oct 30 10:11:11 UTC 2015


It's visually ambiguous. I'd rather not read `1..toString()` and `foo..bar`
in the same file. Not with greatly differing meanings.

On Thu, Oct 29, 2015, 19:29 Claude Pache <claude.pache at gmail.com> wrote:

>
>
> > Le 30 oct. 2015 à 00:07, Waldemar Horwat <waldemar at google.com> a écrit :
> >
> >> On 10/29/2015 14:20, Claude Pache wrote:
> >
> >> In some cases – as in `3..toStrign()` –, `undefined` will be produced
> where an error was thrown.
> >
> >
> > No, this would continue to throw an error.
>
> Oops, you're right. So, `..` is 100% backward-compatible.
>
> —Claude
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20151030/fc6202df/attachment.html>


More information about the es-discuss mailing list