` const demo = () => { const renderAnnotationContent = () => { const arr = [1, 2, 3, 4, 5, 6]; const nodes = arr.map((item) =>
` 写的前端项目,碰到了内存溢出问题,目前还没找到是哪些变量没释放 TT 。 请问上面这种写法属于分离 dom 么,渲染完之后 nodes 会被垃圾回收吗?怎么检查是否回收了呢?