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?
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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?