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

Herby Vojčík herby at mailbox.sk
Sun Jan 22 10:16:21 PST 2012


Brendan Eich wrote:
> And _the_real_foo should be expanded:
>
> {
> private foo;
> ...
> }
>
> desugars to
>
> {
> const foo = Name.create("foo");

BTW, would this not mean it is different in every run?

> ...
> }
>
> with Name.create imported appropriately.
>
> /be

Herby


More information about the es-discuss mailing list