June 2016
Beginner to intermediate
292 pages
6h 8m
English
In this chapter, we will explore the relationship between encapsulation and information hiding, and we will see the different approaches to implement the visibility and accessibility of members of a JavaScript object. The following topics will be addressed in this chapter:
Encapsulation is one of the basic principles of the OOP paradigm. It allows us to bundle it into one object both data and functionalities that operate on that data.
Using the methods exposed by the object to manipulate the data, ...
Read now
Unlock full access