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 <
[email protected]> wrote:

> so the directive is about expressions only ? interesting
>
>
> On Wed, Jan 30, 2013 at 9:10 AM, Brandon Benvie <[email protected]
> > 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.
>>
>
>
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to