Making Sense of Scope in JavaScript: Beginner's Guide
Sometimes, it's hard to understand why our code doesn't work.
There may be many reasons why this happens, but one of the reasons is misunderstanding the scope.
When we declare a variable somewhere and try to access it later, the scope defines where...
codingkiran.hashnode.dev4 min read