Introduction Remember the time when you're writing some code, you try to access an variable but it throws an error that variable is not defined. But you can clearly see that you have defined it and used it multiple times in the function above. That's...

Markdown supported · ⌘↵ to post
Maitra Khatri
Prateek Singh
Software Developer | Technical Content Writer
Your article has cleared my thoughts related to lexical scoping.