disabling "use strict"; everywhere

Brandon Benvie brandon at brandonbenvie.com
Wed Jan 30 09:13:40 PST 2013


The behavior you showed is very odd indeed, I suspect it's actually a bug.
But I would guess the reason the bug exists is because of it being a
FunctionDeclaration.


On Wed, Jan 30, 2013 at 12:12 PM, Andrea Giammarchi <
andrea.giammarchi at gmail.com> wrote:

> so the directive is about expressions only ? interesting
>
>
> On Wed, Jan 30, 2013 at 9:10 AM, Brandon Benvie <brandon at brandonbenvie.com
> > wrote:
>
>> The behavior of a FunctionDeclaration that's not directly in the body of
>> a Program or function is not defined in ES5 and this is likely fallout from
>> that.
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130130/8ccc4241/attachment.html>


More information about the es-discuss mailing list