Destructuring object outside of var declaration

Axel Rauschmayer axel at
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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list