Javascript
JavaScript Fundamentals -- Variables and Scope
  •  

Function Scope

Mute
Current Time 0:00
/
Duration Time 0:00
Loaded: 0%
Progress: 0%
Stream TypeLIVE
Remaining Time -0:00
 

Function scope is:

  • Usable in the function where its declared
  • Accessible in nested functions
  • Not accessible outside the function

For more information on this topic, check out this blog post.

 

I finished! On to the next chapter