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

Brendan Eich brendan at mozilla.com
Wed Jan 2 12:38:38 PST 2013


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:"

/be




More information about the es-discuss mailing list