Quantcast
Channel: jawdat sobh » javascript
Browsing latest articles
Browse All 3 View Live

Image may be NSFW.
Clik here to view.

Extending JavaScript Objects and Classes

Summary You can dynamically create properties and methods of existing objects through simple assignment. Using the prototype property of intrinsic JS Objects, you can extend the functionality of the...

View Article



Image may be NSFW.
Clik here to view.

OOP in JS, Part 1 : Public/Private Variables and Methods

This page shows how to create private variables and methods in “classes” in Javascript through the rather simple example of a person. (This is really a very rough approximation of the classical OOP...

View Article

Image may be NSFW.
Clik here to view.

OOP in JS, Part 2 : Inheritance

This page shows how to create private variables and methods in “classes” in Javascript through the rather simple example of a person. (This is really a very rough approximation of the classical OOP...

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images