DEV Community

Discussion on: What is a "Closure" in JavaScript?

bionboy profile image
Luke Floden

Are multi-level closures classified as something else or just call something like "nested closures"?

thecodepixi profile image
Emily A. Pixi Author

I'm honestly not sure 🤔 that might get more into specific scope than closure itself. But, for instance, let's say in my "inside outside" example, there was a local scope variable inside of inside, that would be inside the "closure" created by the inside function. But I'm not sure if there's any kind of special term for that in terms of closures.