fail-fast object destructuring (don't add more slop to sloppy mode)

Herby Vojčík herby at mailbox.sk
Tue Jan 8 07:26:32 PST 2013



Herby Vojčík wrote:
> In the light of this I think nil-underneath-resurfaced-as-undefined is
> good strategy, things like
> (foo=o.p?).q
> must be augmentede a bit more:
> (foo=o.p?)?.q

Well, I meant this, the previous example is a bit strange:
(foo=o?.p).q
must be
(foo=o?.p)?.q

> Herby


More information about the es-discuss mailing list