restrictions on let declarations

Rick Waldron waldron.rick at
Thu Jan 30 12:45:44 PST 2014

On Thu, Jan 30, 2014 at 2:59 PM, John Lenz <concavelenz at> wrote:

> Yes, that was my point, that is has to be allowed currently and this is a
> change.

But let and const aren't the same as var and function, they have different
syntax with different static and runtime semantics. New forms are allowed
to have new rules, especially ones that make writing code with the new
forms more intuitive and less error prone.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list