How to remove DOM elements without memory leaks?

前端 未结 5 1808
無奈伤痛
無奈伤痛 2020-11-28 21:29

My JavaSript code builds a list of LI elements. When I update the list, memory usage grows and never goes down. I tested in sIEve and it shows that the browser

5条回答
提交回复
热议问题