Is every function a closure?
Yes, exactly. As you’ve identified, every function in JavaScript is a closure over at least one context: The global context. That’s how/why global variables work in JavaScript. We don’t normally call them closures unless they close over some other context and actually make use of the fact that they do, but you’re quite right that … Read more