I noticed that in a lot of the programs I have been modifying recently they always call the parent arguments of the current object. I know that this is needed but don’t have a solid understanding as to why this is a common practice. Any wisdom out there for a junior level developer… I should know this.
Share
This is the mechanism that ExtJS uses to support class inheritance in constructors. Calling
this.callParent(arguments)in a constructor calls the constructor of the immediate parent class that’s being extended.