«« Next » « Previous
«« Next » « Previous

Link Details

Link 97468 thumbnail
User 225256 avatar

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.
  • 1
  • 1
  • 73
  • 19

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (1)



Voters Against This Link (1)