Uploaded July 2014 | Updated September 2026, 1 week ago
Scope and Context are in every language, but because Javascript is always firing callbacks and running asynchronous tasks, it's easy to lose sight of what scope & context you're in.
Scope and context are not the same thing. Scope is variable access - what variables the current piece of code has access to, context is the value of `this` - when you type `this` in your code, what object is it referring to?
This javascript tutorial covers scope and how it plays out in all of the functions that you create.
Watch the full playlist:
youtube.com/playlist?list=PLoYCgNOIyGABI011EYc-avPOsk1YsMUe_
#javascript, #javascriptTutorial, #javascriptScope, #webDevelopmentTutorial
-~-~~-~~~-~~-~-
Also watch: "Responsive Design Tutorial - Tips for making web sites look great on any device"
youtube.com/watch?v=fgOO9YUFlGI
-~-~~-~~~-~~-~-
Scope and Context are in every language, but because Javascript is always firing callbacks and running asynchronous tasks, it's easy to lose sight of what scope & context you're in.
Scope and context are not the same thing. Scope is variable access - what variables the current piece of code has access to, context is the value of `this` - when you type `this` in your code, what object is it referring to?
This javascript tutorial covers scope and how it plays out in all of the functions that you create.
Watch the full playlist:
youtube.com/playlist?list=PLoYCgNOIyGABI011EYc-avPOsk1YsMUe_
#javascript, #javascriptTutorial, #javascriptScope, #webDevelopmentTutorial
-~-~~-~~~-~~-~-
Also watch: "Responsive Design Tutorial - Tips for making web sites look great on any device"
youtube.com/watch?v=fgOO9YUFlGI
-~-~~-~~~-~~-~-










