restrictions on let declarations

Jason Orendorff jason.orendorff at gmail.com
Thu Jan 30 08:34:28 PST 2014


On Thu, Jan 30, 2014 at 8:26 AM, John Lenz <concavelenz at gmail.com> wrote:
> In my model
>
> if (y) let x = 42
>
> is equivalent to
>
> if (y) {
>   let x = 42
> }

Yes, everyone here understands your model. This is a question of
taste. There are competing senses of what is intuitive at play.

-j


More information about the es-discuss mailing list