Brendan Eich wrote:
Brendan Eich wrote:
To tolerate o = null and o = undefined (which is not what o.p?.q does), the equivalence would be:

I forgot to avoid the other slop, implicit ToObject conversion. Correcting:

"To tolerate primitive type value in o (which is not what o.p?.q does), the equivalence would be:"

Er, strike that -- not what CoffeeScript does, not wanted.

But this raises an issue: should ? applied to the whole object (o?.p in expression, {p:q}? = o in pattern language) also cause an implicit ToObject(o)?

/be
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to