Question PRG-JS-0057
MediumWhat is a closure?
- A.
A class with private fields only
- B.
A closed browser tab
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
JavaScript question
What is a closure?
A class with private fields only
A closed browser tab
Sign up free to see the answer and a step-by-step explanation.
A function together with the variables from the scope where it was created
A way to end a loop