Tuesday, July 20, 2010

Calling super class method in javascript

In order to call super class's method, do this:
ClassName.prototype.method.call(this);
where "this" is the child object.

No comments:

Post a Comment