if(oTimer[this.index])

if(oTimer[this.index])
if(aTimer[this.miaovIndex])
{
clearTimeout(aTimer[this.miaovIndex]);
}
里面的if判断是什么意思
绿酒一杯歌一遍 1年前 已收到1个回答 举报

cici_1014 幼苗

共回答了20个问题采纳率:95% 举报

应该是定义了很多个定时器,放到了aTimer的数组中.
判断,如果该数组中的当前定时器启动/存在,就干掉它!

1年前

8
可能相似的问题
Copyright © 2024 YULUCN.COM - 雨露学习互助 - 16 q. 2.099 s. - webmaster@yulucn.com