Monday, November 07, 2005

Object-Oriented Programming with JavaScript, Part I: Inheritance

Although JavaScript is a scripting language, its support of object-oriented programming is quite impressive. Even though there are no classes and instances, there are objects, prototypes, and implicit inheritance. The following article published at details how to emulate inheritance and how the superclass-subclass relationship is formed. Prototyping is the key to understanding the inheritance concept. To know more click here...

No comments: