On Wednesday, March 20, 2013, Rick Waldron wrote:

>
>
> 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.
>

It occurred to me that this might also be misunderstood—there is a
difference between the reference (which is the result of the
assignment) and the hoisted var binding initialization.

Anyway, the code example I provided adequately illustrates the point.

Rick



>
> 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]
>> 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.
>>
>>
>>
>

-- 
-- 
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.


Reply via email to