这很可能只是我的一个令人沮丧的语法错误。但是resizeTime只是不会清除。无论多次使用clearInterval,计时器都会继续运行。有什么想法吗?我已经发布了我的真实代码:varresizeTime;//declaredoutsideofwrapperfunctiontoINSUREnoseconddeclarationwilloccurvarmyTransitionEvent=whichTransitionEvent();$(window).bind('adapt',function(){console.log('start',resizeTime);resizeTime=se