shortcuts for defining block-local private names, plays nicely with @foo syntax

Brendan Eich brendan at mozilla.org
Sat Jan 21 16:39:33 PST 2012


> Herby Vojčík <mailto:herby at mailbox.sk>
> January 21, 2012 2:21 PM
> Oh. I favor 1. Inspired by latest notes and for(let...) I would see
>   {
>     private foo;
>     ...
>   }
> desugared to
>   {
>     let foo = _the_real_foo;

Er, const, I hope -- not let. Right?

/be


More information about the es-discuss mailing list