timeout=60;
count=0;
current=location.href;
setTimeout('reload()',1000*timeout);
function reload(){
count=count+1
console.log(count)
setTimeout('reload()',1000*timeout);
fr4me='<frameset cols='*'>n<frame src=''+current+''/>';
fr4me+='</framesset>';
with(document){write(fr4me);void(close())};
}
上面这段代码,每隔一分钟刷新下当前页面,内存一直在增涨,没有释放