Scope & closures
Computer Science · JavaScript
Loading practice question…
About this practice set
Scope & closures is a Computer Science quiz (JavaScript) with 5 multiple-choice questions. Pick an answer and read the explanation that follows.
What you will be asked
- A closure:
- A closure forms when:
- Closures enable:
- A closure keeps variables:
- Lexical scope means the closure sees: