Answer:
A closure in JavaScript is a function that is nested within another function and has access to the outer function's variables.
A closure in JavaScript is a function that is nested within another function and has access to the outer function's variables.
You may be interested in:
Web Fundamental MCQs