Koren Leslie Cohen

  • About
  • Blog
  • Contact

3 comments

JavaScript

JavaScript Variables: Declaration, Initialization, Hoisting & Closures

August 21, 2014 by Koren Leslie Cohen

preloader

Closures are inner functions that have access to the outer function’s variables, also known as a scope chain. Included in a closure’s scope chain are the closure’s own variables, the outer function’s variables, and any global variables. The inner function also has access to the outer functions parameters.

  • GitHub
  • Instagram
  • LinkedIn
  • RSS
  • Twitter

Looking for something?

Copyright 2025 Koren Leslie Cohen