Q31 – Q37 JavaScript Interview Q&A on Closure

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….


Java developer & architect Q&As

Java developers Q&As

Top