Destructuring object outside of var declaration

Axel Rauschmayer axel at rauschma.de
Tue Sep 17 08:18:39 PDT 2013


> I say use var/let/const, it's better style; or else suffer a parentheses tax. This is pretty much a non-issue in practice, AFAICT.


I don’t think so, either. But error message could give appropriate hints, just in case (beyond the scope of TC39/ECMA-262, but still important, usability-wise).

-- 
Dr. Axel Rauschmayer
axel at rauschma.de

home: rauschma.de
twitter: twitter.com/rauschma
blog: 2ality.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130917/23aa474e/attachment.html>


More information about the es-discuss mailing list