Closures and Factory Functions
Before starting Closures , let's first understand Function Call.
How Function Call works ?
Let's say we call a function sayHello(), now "sayHello" will be reference to the function and "()" will make function call.
Now let's look in the memory,
sa...
devwithavatar.hashnode.dev5 min read