4 ms·
The Prototype this example won't work unless this is bound to the anonymous function, otherwise this is the window object. $A(this.columns).each(function(ite
by Caged 18y ago
The Prototype this example won't work unless this is bound to the anonymous function, otherwise this is the window object.
$A(this.columns).each(function(item) {
this.buildHeader(item);
}.bind(this));
- litewulf 18y agoBased on the use of "this.columns" I assume this is bound to something. Probably not the anonymous function though.