A Base Class for JavaScript Inheritance

A Base Class for JavaScript Inheritance
Dean Edwards of the IE7 fame created his own version of a javascript base class.
This is what it does:

* I want to easily create classes without the MyClass.prototype cruft
* I want method overriding with intuitive access to the overridden method (like Java’s super)
* I want to avoid calling a class constructor function during the prototyping phase
* I want to easily add static (class) properties and methods
* I want to achieve the above without resorting to global functions to build prototype chains
* I want to achieve the above without affecting Object.prototype

Related Posts