Welcome to the world of closures! Closures are a powerful feature in JavaScript that can be a bit tricky to grasp at first, but once you understand...
For further actions, you may consider blocking this person and/or reporting abuse
Nesting functions is unrelated to the creation of closures. A closure is formed every time a function is created, regardless of that function being inside another function.
Misconceptions About Closures
Jon Randy 🎖️ ・ Sep 27 '23