I read in Jquery in Action that memory leaks can result from javascript closures.
"Unintended closures can have unintended consequences. For example, circular references can lead to memory leaks. A classic example of this is the creation of DOM elements that refer back to closure variables, preventing those variables from being reclaimed."
could somebody give an example of this?
thank you!