On dropping @names

David Herman dherman at mozilla.com
Fri Dec 28 10:54:53 PST 2012

On Dec 28, 2012, at 2:29 AM, Andreas Rossberg <rossberg at google.com> wrote:

>> Can these "plenty" be enumerated? Apart from const, which ones have TDZs?
> All declarations whose initialization cannot be hoisted. My understanding is that that would be 'const', 'class' and 'private', although we have just dropped the latter from ES6. There might potentially be additional ones in future versions.

Wait, can you specify which meaning of "hoist" you mean here? All of const, class, and private would still be scoped to their entire containing block, right? They just wouldn't be pre-initialized before the block starts executing.


More information about the es-discuss mailing list