JavaScript: should I worry about memory leaks in 2011?
问题 The topic of memory leaks in JavaScript is not brought up often. However, I stumbled upon this article, written in 2007. The authors state: Internet Explorer and Mozilla Firefox are the two Web browsers most commonly associated with memory leaks in JavaScript. Should I still be worrying about JavaScript memory leaks in 2011? If so, what should I be careful about? 回答1: A good javascript developer would be aware of various design patterns that can lead to memory leaks and you'd avoid coding