Do you know Closures?
I hope everyone in the room is excited to learn about it!
Let's go on a closure's roller-coaster ride then!
What is CLOSURE?
CLOSURE = FUNCTION + LEXICAL ENVIRONMENT
Now, LEXICAL ENVIRONMENT means references to its surrounding state!
For exampl...
payalkherajani.hashnode.dev4 min read