3 ms·
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
by FuzzyDunlop 14y 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.
- emehrkay 14y agoor use call or apply when invoking innerFunction, which he describes later in the article