What is a JavaScript Closure? Learn the how closures allow functions to “remember” outside their local scope
🔗 Resources
MDN Docs https://developer.mozilla.org/en-US/docs/Web/JavaScript/Closures
My Favorite Closure Explanation https://stackoverflow.com/a/36879264/3808414
Interview Question https://dmitripavlutin.com/simple-but-tricky-javascript-interview-questions/
#javascript