Sep 26, 2018

[HDGEM] Modules are classes in JavaScript

One of the many advantages of classes is encapsulation

Classes or modules protects states and behaviors from being accessed from other classes. The module pattern allows for public and private (plus the lesser-know protected and privileged) access levels.


--
Posted By Blogger to HDGEM at 4/21/2017 11:37:00 AM