Toplevel 'let' binding can be left permanently uninitialized after an error

Allen Wirfs-Brock allen at wirfs-brock.com
Tue Sep 30 10:08:51 PDT 2014


On Sep 30, 2014, at 10:00 AM, Rick Waldron wrote:
> 
> My original response questions were poorly asked. I understand the TDZ semantics, but I couldn't reproduce anything meaningful from your original example, because I don't have the SpiderMonkey build that includes the let updates (presumably Nightly doesn't either, because none of these can be reproduced there). I'm trying to understand when/where/why/how the original example could happen and what the potential consequences are in terms of practical application.
> 

Also, note that IE11 apparently implements the ES6 let semantics so it may be useful to look at its experience in this regard.

Allen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140930/ceaeb5dc/attachment.html>


More information about the es-discuss mailing list