A simple example I use to remember what a closure is Reuben George Thomas on August 13, 2020 You will probably get asked what a closure is at some point in your web dev career, possibly at an interview, and it's one of those things that can... Read full post Submit Preview Dismiss Collapse Expand CatalinRadoi CatalinRadoi CatalinRadoi Follow I love documentaries Location Bucharest, Romania ❤️ Work C# Dev at Netsun Joined May 27, 2019 • Aug 13 '20 Dropdown menu Copy link Hide Thanks! Thought closure meant when you tell your ex not to call you ever again :P Collapse Expand Jack Jack Jack Follow Full stack React / Node / Postgres developer, Founders and Coders alum. Location London, UK Joined Jun 30, 2020 • Aug 13 '20 Dropdown menu Copy link Hide In JS, closure is still having your ex's number in your phone ;) Collapse Expand Reuben George Thomas Reuben George Thomas Reuben George Thomas Follow Full Stack React / Node.js / PostgreSQL Founders and Coders graduate Location London Work Software Developer Joined Aug 12, 2020 • Aug 13 '20 Dropdown menu Copy link Hide 😅this works too I guess Collapse Expand Akhil Arjun Akhil Arjun Akhil Arjun Follow I am a passionate front end developer who enjoys immense guilt-pleasure for writing vanilla Javascript. Location Bangalore Work Vice President at Goldman Sachs Joined Nov 21, 2019 • Aug 13 '20 Dropdown menu Copy link Hide That is as neat as someone can explain closures. Good job bro 🕺👾 Collapse Expand TomW TomW TomW Follow I love JavaScript. Currently training in front end development. Location London Work Junior Joined Nov 14, 2019 • Aug 13 '20 Dropdown menu Copy link Hide nice article bud! Collapse Expand Reuben George Thomas Reuben George Thomas Reuben George Thomas Follow Full Stack React / Node.js / PostgreSQL Founders and Coders graduate Location London Work Software Developer Joined Aug 12, 2020 • Aug 13 '20 Dropdown menu Copy link Hide Thanks Tom! Collapse Expand Hannah Gooding Hannah Gooding Hannah Gooding Follow Founders and Coders bootcamp and Code First Girls graduate. Location London Work Software Engineer at Lyst Joined Jun 30, 2020 • Aug 13 '20 Dropdown menu Copy link Hide So clearly explained Reuben! Collapse Expand Reuben George Thomas Reuben George Thomas Reuben George Thomas Follow Full Stack React / Node.js / PostgreSQL Founders and Coders graduate Location London Work Software Developer Joined Aug 12, 2020 • Aug 13 '20 Dropdown menu Copy link Hide Thanks! Here's to more posting✌️ Collapse Expand Sharoz Ijaz Sharoz Ijaz Sharoz Ijaz Follow Creative UX/UI Designer and Talented Front-End Developer who can solve any Web Design Challenge. Email sharozijaz4@gmail.com Location Lahore,Pakistan Work Front End Developer Joined Jul 1, 2020 • Aug 13 '20 Dropdown menu Copy link Hide Thanks for Explaining me this Hard Topic. Collapse Expand Reuben George Thomas Reuben George Thomas Reuben George Thomas Follow Full Stack React / Node.js / PostgreSQL Founders and Coders graduate Location London Work Software Developer Joined Aug 12, 2020 • Aug 13 '20 Dropdown menu Copy link Hide glad it helped!! Collapse Expand Thomas Ferro Thomas Ferro Thomas Ferro Follow Location Grand-Est Work Web development engineer at Agicap Joined Aug 13, 2019 • Aug 19 '20 Dropdown menu Copy link Hide Great memory refresh! I would, however, consider using a real-world example in addition to the one you used, since this concept can feel a little abstract. Code of Conduct • Report abuse
Thanks! Thought closure meant when you tell your ex not to call you ever again :P
In JS, closure is still having your ex's number in your phone ;)
😅this works too I guess
That is as neat as someone can explain closures. Good job bro 🕺👾
nice article bud!
Thanks Tom!
So clearly explained Reuben!
Thanks! Here's to more posting✌️
Thanks for Explaining me this Hard Topic.
glad it helped!!
Great memory refresh!
I would, however, consider using a real-world example in addition to the one you used, since this concept can feel a little abstract.