Which of the following statements about closures is true?
A closure is created only when using this.
A closure allows a function to access variables from its lexical scope.
Closures are not allowed in arrow functions.
Closures are created during runtime only.
This question is part of this quiz :
Advanced JavaScript