Javascript
JavaScript Fundamentals -- Variables and Scope
  •  

Function Scope

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.