Subclassing in Javascript
Thursday, June 4, 2009
Coming to coding in Javascript, I think it will be neat to have a code snippet which allows a class to extends a parent class. The attached code demonstrate the usage and requires the understanding of the fact that JavaScript is a prototyped-object oriented programming language.
Posted byA nerdy girl at 12:27 PM
Labels: extends, hierarchy, javascript, object, prototype, subclass
0 comments:
Subscribe to:
Post Comments (Atom)