Software Engineer, consulting services available
On Jul 16, 6:21 pm, damerub mcaca...@gmail.com wrote:
Could someone explain what the following line does?
this.initialize.apply(this, arguments);
I know how 'apply' works, but I cannot understand why 'this' is used
twice here? both
Could someone explain what the following line does?
this.initialize.apply(this, arguments);
I know how 'apply' works, but I cannot understand why 'this' is used
twice here? both 'this' refer to the same object (current object).
then why not just call this.initialize(arguments)?. What's the