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

Herby Vojčík herby at mailbox.sk
Sun Jan 22 01:48:40 PST 2012


Brendan Eich wrote:
>> 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?
Of course. My mistake.
>
> /be
Herby


More information about the es-discuss mailing list