June 2016
Beginner to intermediate
292 pages
6h 8m
English
In this introductory chapter, we recalled some concepts related to object management in JavaScript.
We explored two approaches in creating objects: the literal-based approach and the constructor-based one. The first one is very simple but not practical when we need more generalization, while the second approach is a bit more complex but effective.
We also introduced the new class construct and analyzed how it simplifies the definition of object constructors and the use of prototypes.
In the next chapter, we will analyze how JavaScript applies the Object-Oriented Programming principles.
Read now
Unlock full access