Sign in

Understanding the basics of the scopes in Javascript. Solving the confusing part.

Photo by ThisIsEngineering from Pexels

Scopes in Javascript are very simple to understand yet when we execute the code they become the main culprit because sometimes we expect a different result and get a different output. And while debugging we keep scratching our…

Akash

I am a self taught web developer. I believe in sharing knowledge with everyone who is just starting out.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store