Q31. What is a Closure in JavaScript? A31. A closure is an “inner function” that has access to the “outer function’s” variables—scope chain. The closure has three scope chains: 1) It has access to variables defined between its curly brackets….
Q31. What is a Closure in JavaScript? A31. A closure is an “inner function” that has access to the “outer function’s” variables—scope chain. The closure has three scope chains: 1) It has access to variables defined between its curly brackets….
Login Register 100+ Free Java interview FAQs 100+ Free Big Data interview FAQs