A

Admin • 828.03K Points
Coach

Q. What is a closure?

  • (A) Function objects
  • (B) Scope where function’s variables are resolved
  • (C) Both Function objects and Scope where function’s variables are resolved
  • (D) None of the mentioned
  • Correct Answer - Option(C)
  • Views: 4
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin
A combination of a function object and a scope (a set of variable bindings) in which the function’s variables are resolved is called a closure.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.