DEV Community

Discussion on: A simple example I use to remember what a closure is

Collapse
catalinradoi profile image
CatalinRadoi

Thanks! Thought closure meant when you tell your ex not to call you ever again :P

Collapse
reubengt profile image
Reuben George Thomas Author

πŸ˜…this works too I guess

Collapse
jackherizsmith profile image
Jack

In JS, closure is still having your ex's number in your phone ;)