Quantcast
Channel: Programming pages » constructors
Browsing latest articles
Browse All 2 View Live

Image may be NSFW.
Clik here to view.

JavaScript objects

After many years as an OO programmer using primarily C++, Java and C#, I’m finally taking a first look at JavaScript. At the lower syntax level, that of most operators, expressions, if statements and...

View Article



Image may be NSFW.
Clik here to view.

Inheritance in JavaScript

In the last post, we saw how to implement class-like objects in JavaScript, despite the language’s lack of actual class data types. The solution used closure to create private fields, which can be...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images