2 ms·
The article is about 'this', not about creating closures. I agree that in the case where you're creating a closure, you need to create a reference to the scope
by jt2190 16y ago
The article is about 'this', not about creating closures.
I agree that in the case where you're creating a closure, you need to create a reference to the scope referenced by 'this' in order to 'enclose' it, however, that doesn't make it a best practice, all the time, as many responses are suggesting.