Got a languages degree, became developer ๐โค
Developing Epoch Rift on my free time
Nothing here yet.
Hey ๐ Tks for reading and comenting My example is minimalist, at best, but is still a closure, at least according to MDN's explanation. I have access to the outer function/scope variables while inside an inner function. I just happen to be in a theoretical global scope Your example is correct, but I think fA() will remain in the memory heap until it's garbage collected.