On Fri, Jun 15, 2012 at 6:00 PM, Brendan Eich <[email protected]> wrote:

> Can you give a real-world example where null rather than undefined is
> soaked up? I'm guessing DOM but guessing is bad (cf. Sherlock Holmes).
>

Wouldn't any case where you return null to mean explicitly no object be
such a case?  Ie:

var bar = lookupFoo(key)?.bar();

-- 
John A. Tamplin
Software Engineer (GWT), Google
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to