Sharing an important feature of JavaScript I learnt today.
๐
CLOSURES!!
This feature enables you to make references to a specific instance of a local bindings in an enclosing scope. It re-creates local bindings every time a function is called.
#leetcode
Letโs tell the output ;