encapsulation

Data Encapsulation in Javascript private fields

Data Encapsulation has been around for a long time, preventing data certian exposure for various reasons such as protecting sensitive data,providing control through restricted functions. Let us consider a scenario of a company and its communication channels. Public notices are allowed for the general public, however sensitive internal information must require authentication.

Read More