If You Cannot Name All 5 JS Scopes You Need To Watch This Video

Опубликовано: 26 Декабрь 2024
на канале: Web Dev Simplified
61,576
2.5k

JavaScript Simplified Course: https://javascriptsimplified.com/?utm...

Scoping in JavaScript seems simple at first glance, but JavaScript actually has 5 different levels of scope that can be incredibly difficult to keep track of. In this video I explain everything you need to know about scoping across all 5 layers of scope so you can master scoping for your next project.


📚 Materials/References:

JavaScript Simplified Course: https://javascriptsimplified.com/?utm...
Scoping Article: https://blog.webdevsimplified.com/202...
Debugging Crash Course Video:    • The Most Important Skill You Never Le...  
Let vs Const vs Var Video:    • Differences Between Var, Let, and Const  
Let vs Const vs Var Article: https://blog.webdevsimplified.com/202...
ES6 Module Video:    • JavaScript ES6 Modules  
ES6 Module Article: https://blog.webdevsimplified.com/202...


🌎 Find Me Here:

My Blog: https://blog.webdevsimplified.com
My Courses: https://courses.webdevsimplified.com
Patreon:   / webdevsimplified  
Twitter:   / devsimplified  
Discord:   / discord  
GitHub: https://github.com/WebDevSimplified
CodePen: https://codepen.io/WebDevSimplified


⏱️ Timestamps:

00:00 - Introduction
00:37 - Scoping Basics
06:41 - JavaScript Scoping Levels
12:23 - How Var Is Different


#Scoping #WDS #JavaScript