Existential Operator / Null Propagation Operator
jokeyrhyme at gmail.com
Thu Sep 15 23:55:28 UTC 2016
Once upon a time, there was a fascinating proposal on this subject:
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss