Saved Bookmarks
| 1. |
What is a closure JavaScript? |
|
Answer» It’s a JavaScript feature where an inner function has ACCESS to the enclosing or OUTER function’s variables, which is defined as a scope chain. There are THREE TYPES of scope chains:
|
|