Closure
๐น What is a Closure?
A closure is created when a function remembers the variables from its outer scope even after that outer function has finished executing.
๐ In simple words:Inner functions can access variables of their outer function even after ...
yesamitsingh.hashnode.dev3 min read