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

John Lenz concavelenz at gmail.com
Wed Jun 4 14:46:59 PDT 2014


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).  My
interest is writing or support tools that do the "right" thing.


On Wed, Jun 4, 2014 at 8:37 AM, Andreas Rossberg <rossberg at google.com>
wrote:

> On 4 June 2014 00:12, John Lenz <concavelenz at gmail.com> wrote:
> > No I intentionally used "let".  This is not legacy code (I shouldn't have
> > use the word "existing") but new "sloppy" mode code that would like the
> code
> > to be block scoped.
>
> Why would you want to write new sloppy mode code, though? Honest question.
>
> /Andreas
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140604/8d89e1bb/attachment.html>


More information about the es-discuss mailing list