restrictions on let declarations

John Lenz concavelenz at
Wed Jan 29 21:57:20 PST 2014

I have some old notes that says that "let" can't be used in some context
where a var could like:

  if (a) let x = 2;

In my perusal of the spec I don't see that this is the case now.  Can
someone confirm that for me?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list