JavaScript Simplified Course: https://javascriptsimplified.com/?utm_source=youtube&utm_medium=video-description&utm_term=video-id-SQP9VV5b9IM
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_source=youtube&utm_medium=video-description&utm_term=video-id-SQP9VV5b9IM
Scoping Article: https://blog.webdevsimplified.com/2022-10/js-scoping/?utm_source=youtube&utm_medium=video-description&utm_term=video-id-SQP9VV5b9IM
Debugging Crash Course Video: https://youtu.be/l8pe_MSX4Lc
Let vs Const vs Var Video: https://youtu.be/9WIJQDvt4Us
Let vs Const vs Var Article: https://blog.webdevsimplified.com/2020-01/var-vs-let-vs-const/?utm_source=youtube&utm_medium=video-description&utm_term=video-id-SQP9VV5b9IM
ES6 Module Video: https://youtu.be/cRHQNNcYf6s
ES6 Module Article: https://blog.webdevsimplified.com/2021-11/es6-modules/?utm_source=youtube&utm_medium=video-description&utm_term=video-id-SQP9VV5b9IM
🌎 Find Me Here:
My Blog: https://blog.webdevsimplified.com
My Courses: https://courses.webdevsimplified.com
Patreon: https://www.patreon.com/WebDevSimplified
Twitter: https://twitter.com/DevSimplified
Discord: https://discord.gg/7StTjnR
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