How is let compatibility resolved?

Mathias Bynens mathias at qiwi.be
Mon Oct 14 09:49:53 PDT 2013


On 2 Oct 2013, at 10:45, Petka Antonov <petka_antonov at hotmail.com> wrote:

> In current version, this works just fine:
> 
>    var let = 6;

Note that `let` was reserved in strict mode (only) in ES5, meaning that even as per ES5 that snippet only works in sloppy mode.


More information about the es-discuss mailing list