A

Admin • 828.03K Points
Coach

Q. Which of the following are examples of closures?

  • (A) Objects
  • (B) Variables
  • (C) Functions
  • (D) All of the mentioned
  • Correct Answer - Option(D)
  • Views: 7
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin
Technically, all JavaScript functions are closures: they are objects, and they have a scope chain associated with them.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.