restrictions on let declarations
waldron.rick at gmail.com
Thu Jan 30 11:39:46 PST 2014
On Thu, Jan 30, 2014 at 2:27 PM, John Lenz <concavelenz at gmail.com> wrote:
> I don't argue that it isn't a useless "let". I do point out that in
> "sloppy" mode, that other declaration are allow in practices by browsers.
> Chrome allows function, const, and var in the body of an if without block.
Did you mean to include const? Only IE11 has implemented const and let with
the proper semantics (with the exception of the for loop let binding
mistake, which will be corrected).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss