Cards
Quizzes
Features
Pricing
Login
Sign up
Cards
Quizzes
Features
Pricing
Login
JavaScript 101 | Question 1 of 20
What is a closure in JavaScript?
A method that creates objects
A function that is called immediately after it is defined
A function bundled together with its lexical environment
A function without a return value