On Wednesday, March 20, 2013, AJ ONeal wrote:
> So foo() is NOT identical to (foo)() where foo is function () {}.
>
>>
>> Yes, they are.
>>
>
> Dude. Type `function () {} ()` into a browser console and hit enter.
> That's my point. It's an error. That's why I say it's not equivalent. You
> MUST have the parens.
>
That's not what I was refuting.
>
>
>> No, FunctionExpression (assignments) _do_ _not_ get hoisted.
>>
>
> I wasn't referring to the assignment. I was referring to the reference in
> the first place.
>
>
Which is still wrong. The reference isn't hoisted.
I tried to be helpful to identify issues in your post and messages here—I'm
not making this stuff up, but I'm not going respond to the rest of this
message because its clear that either haven't read or possible
misunderstood the spec.
Rick
>
> --
> AJ ONeal
> (317) 426-6525
>
> --
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to
> [email protected]<javascript:_e({}, 'cvml', '[email protected]');>
> To unsubscribe from this group, send email to
> [email protected] <javascript:_e({}, 'cvml',
> 'nodejs%[email protected]');>
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected] <javascript:_e({}, 'cvml',
> 'nodejs%[email protected]');>.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
---
You received this message because you are subscribed to the Google Groups
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.