Existential Operator / Null Propagation Operator

Kevin Smith zenparsing at gmail.com
Tue Apr 7 18:58:49 UTC 2015

> Plus, it can be used for "normalizing" null/undefined to undefined:
>  var normalizedFoo = ?foo;
> Seems sort of nice that it is separated and there are no special
operations for ?., ?(, ?[.

I agree, that is nice.  But how does Nil get transformed into undefined?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20150407/e317aed8/attachment.html>

More information about the es-discuss mailing list