InterviewSolution
Saved Bookmarks
| 1. |
What is 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) Function return valueThe question was posed to me in an interview for internship.This intriguing question originated from Closures topic in portion Lexical Structures of JavaScript |
|
Answer» The correct choice is (c) Both Function objects and Scope where function’s VARIABLES are RESOLVED |
|