_______ scope is created when a function is defined and persists even after the function returns.

  • Closure
  • Global
  • Local
  • Static
Closure scope is created when a function is defined inside another function. It allows the inner function to access the outer function's variables, even after the outer function has finished executing.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *