On 6 April 2015 at 19:33, Christoph Pojer <[email protected]> wrote:
> `a?.b` => `(a == null ? void 0 : a.b)` > `a?.b.c` => `(a == null ? void 0 : a.b.c)` > Would it not be more generally useful if it returned "a" rather than "void 0" in the appropriate case, that is: `a?.b` => `(a == null ? a : a.b)` This way the notion of nullness/undefinedness the user is working with would be preserved.
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

