March 23, 2010
Tutorial: Classes, Prototypes and OOP in JavaScript
In JavaScript there are no classes in the conventional sense. Instead, the language uses a soewhat confusing approach of inheritance through prototypes. In this post I will explain the concept of prototype inheritance and its implementation in JavaScript. Furthermore, I’ll show how to use it to recreate a more famililar class-based environment known from other languages. Read more…
| Internet, Miscellaneous | browser, class, construktor, javascript, mootools, object, oop, programming, prototype, tutorial |