TDZ

On Sep 29, 2014, at 2:14 PM, Rick Waldron wrote:

> 
> 
> On Mon, Sep 29, 2014 at 4:17 PM, Jason Orendorff <[email protected]> 
> wrote:
> SpiderMonkey hacker Jeff Walden noticed this. Consider a web page that
> loads and runs this script:
> 
>     throw 0;
>     let x;
> 
> This leaves the binding 'x' uninitialized. There's no way to get rid
> of a lexical binding or to initialize it later. The binding is just
> permanently hosed; any attempt to read or write it will throw.
> 
> Can you clarify "write"? Does this mean assignment? Why would assignment 
> throw?
> 
> Rick
>  
> _______________________________________________
> es-discuss mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/es-discuss

_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to