By mswatcher
via codeproject.com
Submitted: Jul 23 2008 / 10:43
Many Javascript programmers overlook or do not know of the ability to write object-oriented Javascript. Whilst not conventionally an object-oriented language, Javascript is a prototype-based language, which means that inherited classes are not derived directly from a base class, but rather are created by cloning the base class which serves as a prototype. This can be used to one's advantage in implementing encapsulation, inheritance and polymorphism in Javascript, therefore creating a sense of object-orientation.
SaveShareSend
Tags: javascript
Add your comment