On 7 April 2015 at 18:33, Christoph Pojer <[email protected]> wrote:

> it doesn't have to be a bug. It asserts that if a is not
> null/undefined, it must have a property b. This can be enforced
> through static typing.


Under option 1, that's not what it does. Since it's equivalent to
`(a?.b).c`, if a is null/undefined, it will always raise an error, so it's
more or less the same as just doing `a.b.c`.
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to