A bit confused by B.3.2 - Web Legacy Compatibility for Block-Level Function Declarations

Andreas Rossberg rossberg at google.com
Thu Jun 5 02:06:34 PDT 2014


On 4 June 2014 23:46, John Lenz <concavelenz at gmail.com> wrote:
> I don't personally want to write sloppy mode code, but there are places you
> need it (using eval to introduce new symbols into global scope).

You don't necessarily need sloppy mode for that. In strict mode, you
can still express it as assignment to the global object.

/Andreas


More information about the es-discuss mailing list