This short YouTube will explain what variable scope means in JavaScript. Short examples are provided. The difference between global and local (function) variables are clarified as well as the difference between var, let, and const.
Thanks for watching and happy coding!
All of my YouTubes can be found at:
https://learncs.w3spaces.com/