Private and Public Scope in Javascript

added by JavaScript Kicks
8/1/2018 6:00:29 AM

1063 Views

In many programming languages, you'll hear about public and private scope, in JavaScript there is no such thing. We can, however, emulate public and private scope through things like Closures. You can create public and private scope using JavaScript design pattern called Module.


0 comments