DEV Community

Discussion on: Emulating "Private" Variables in JavaScript with Closures and Factory Functions

 
somedood profile image
Basti Ortiz • Edited

It makes you realize that even though closures are so ubiquitous in JavaScript, not everyone truly understands it.