loading...

re: ECMAScript Classes - Keeping Things Private VIEW POST

FULL DISCUSSION
 

Just yesterday, I commented on dev post to explain how he made pseudo-private variables in JS using Closure. And now you sir posted 4 easy to use techniques for privacy modifiers in JS.

I was using privacy by convention for past few years but no I am getting interested in Symbol(). It seems eloquent.

Code of Conduct Report abuse