On Dec 28, 2012, at 2:29 AM, Andreas Rossberg <rossb...@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.

Dave

_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to