DEV Community

Discussion on: JS interview in 2 minutes / Closure

Collapse
z00md profile image
z00md

I assume currying and private variables werent there when JS was invented. But closure was an inherent feature. What was the original use case for closures?