lundi 29 mai 2017

What is the use of applying Design patterns in javascript?

I started learning Design patterns. And i learned about Module Design pattern in javascript. Which provides object oriented capabilites like functionality (Private and Public variables) in javascript. One thing is that, why i should make the variables as private or public. Since even a novice developer can see the javascript code in applications and even he can access and see those variables using breakpoints in the browser tools such as inpect elements?

Aucun commentaire:

Enregistrer un commentaire