re: Emulating "Private" Variables in JavaScript with Closures and Factory Functions VIEW POST

TOP OF THREAD FULL DISCUSSION
re: I'm not sure myself, honestly. I'd love to know. When I have the time, I'll try to create a rigorous experiment for this using the DevTools Memory ...
 

How funny is it, though, that this method is still using closures, the 5 functions capturing privates :D

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

code of conduct - report abuse