Y
Hacker News
new
|
ask
|
show
|
jobs
by
FuzzyDunlop
4998 days ago
There is an easy way to get round this problem, but it is in my opinion a hack. One gets around this problem by assigning a varialbe (by convention, it is named that) to this inside the function
Or use `bind` instead.
1 comments
emehrkay
4998 days ago
or use call or apply when invoking innerFunction, which he describes later in the article
link