A

Admin • 833K Points
Coach

Q. Which JavaScript feature allows function to access variables from an outer scope?

  • (A) Closure
  • (B) Scope chain
  • (C) Callback
  • (D) Hoisting
  • Correct Answer - Option(A)
  • Views: 17
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin

Closures give functions access to variables from their outer lexical scope.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.