what is closure ?
Definition of the closure :
When the function is executed out of it's lexical scope(means where it was physically declared in the block of code) then this function will get reference to it's lexical variable environment as a persistent storage is cal...
prashant0705.hashnode.dev2 min read