> Inheritance A Class can inherit characteristics from another Class.
Somebody should tell Mozilla, that there are no classes in JavaScript....
Somebody should tell Mozilla, that there are no classes in JavaScript....
An interesting ressource, anyway.
(1) https://developer.mozilla.org/en/Introduction_to_Object-Orie...
Whether or not code reuse via OO is a good thing or not is a whole other debate though. I don't try to warp every problem into a class hierarchy, but sometimes it's a useful conceptual tool.