In the asp.net ajax library, there is a line that make me confused.
Type.prototype.registerClass = function Type$registerClass(typeName, baseType, interfaceTypes) {
//..
this.prototype.constructor = this;
//.. }
I known that (this.prototype.constructor === this) == true, so what is significance of this line? I remove the line, and test the library with some code. It seems it is ok.
can any javascript guy tell why? Thanks Fred