I have trouble with the "this" keyword in Javascri

Page 1 of 1 [ 4 posts ] 

realitysucks
Tufted Titmouse
Tufted Titmouse

User avatar

Joined: 30 Aug 2012
Age: 52
Gender: Male
Posts: 43
Location: (New) Rotterdam

01 Sep 2012, 8:42 am

It can mean so many things in context -

in this article they talk about how autistics have trouble with pronouns.......
http://en.wikipedia.org/wiki/Pervasive_ ... _specified



Larsen80
Blue Jay
Blue Jay

User avatar

Joined: 2 Aug 2011
Age: 44
Gender: Male
Posts: 75
Location: Aarhus, Denmark

01 Sep 2012, 10:25 am

I feel that I might be able to answer your javascript question, but you really need to elaborate a bit.



MyFutureSelfnMe
Veteran
Veteran

User avatar

Joined: 26 Feb 2010
Age: 44
Gender: Male
Posts: 1,385

01 Sep 2012, 1:43 pm

Don't forget also that if you compile your JS with Closure, there are issues with "this".



Robdemanc
Veteran
Veteran

User avatar

Joined: 30 May 2010
Age: 47
Gender: Male
Posts: 2,872
Location: England

02 Sep 2012, 2:18 pm

What trouble do you have with "this"?