JGF1 (322) [Avatar] Offline
#1
Hi folks. Have ben enjoying reading book and found everything pretty self explanatory up unitil now...
I'm relatively au fait with closures from using Ajax/Javascript libraries like jQuery & Prototype but coudn't get my head aound context to which 'this' applies in example given. This time thinking with my 'Java' hat on! smilie
Can someone explain?
Cheers.
JGF1 (322) [Avatar] Offline
#2
Re: Listing 5.4 P134. What is context for 'this' in example given? Point #4
After reading on a bit this became clearer.
If you ask me there's a bit of a sequencing issue here. A forward reference might have helped. Listing 5.8 sort of answers this P143/144, but section 7.5.1 on P208 really cemented my understanding the most.