Existential Operator / Null Propagation Operator

Michał Wadas michalwadas at gmail.com
Fri Sep 16 09:53:04 UTC 2016


Would break the web.

On Fri, Sep 16, 2016 at 1:55 AM, Ron Waldon <jokeyrhyme at gmail.com> wrote:

> Once upon a time, there was a fascinating proposal on this subject:
> - https://github.com/sebmarkbage/ecmascript-undefined-propagation
>
> Rather than introduce new syntax, Sebastian's proposal was to
> automatically propagate `undefined` values: if we're about to throw a
> dot-property-access-on-undefined error, we just return `undefined`
> instead.
>
> I could find much discussion about this here, but I did find lots of
> discussions about approaches involving alternative syntax.
>
> _______________________________________________
> 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/20160916/e572b6b3/attachment.html>


More information about the es-discuss mailing list