Javascript Fundamentals

Closures in JS

  • An inner function has always access to the variables and parameters of its outer functions, even after the outer function has returned.