I’m looking for a simple example of creating a class in Javascript which is then inherited in a subclass. I’m looking in particular for an example of method overridding. I realize Javascript doesn’t have the syntax supporting traditional OOP, which seems to be the source of my problem.
Share
Here is a simple example showing one of many ways of doing it. I usually use John Resig’s system.
http://jsfiddle.net/Xeon06/JK5vX/2/