DEV Community

Discussion on: JS interview in 2 minutes / Closure

Collapse
 
amt8u profile image
amt8u

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?