DEV Community

Discussion on: ECMAScript Classes - Keeping Things Private

abhinav1217 profile image
Abhinav Kulshreshtha

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.