JavaScript | Advanced JavaScript | Question 3

Last Updated :
Discuss
Comments

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.

Share your thoughts in the comments