首页
新手入门
API
关于
注册
登录
作者
anotherWill
积分: 355
“ 这家伙很懒,什么个性签名都没有留下。 ”
作者其它话题
cnode怎么搜索不了主题?
react性能问题。
redux:store.dispatch()不执行。
请问node怎么返回一段html?不含html头<body>之类的。
robomongo保存脚本.js文件的时候注释出现乱码。
无人回复的话题
最近 skills 很火,我从收集的6w+ agnet-skills中精选出 1000+好用/实用/有趣的 claude code skills,今天更新中
1234567891011
全栈开发在线接单
11111111
1111是否地方 发送都是地方
在程序中不clear掉相应的setInterval()会有什么后果吗?
发布于 10 年前
作者
anotherWill
4415 次浏览
最后一次编辑是 9 年前
来自 问答
setInterval中是一个异步方法调用。
5 回复
anotherWill
1楼•10 年前
作者
dfdsf
anotherWill
2楼•10 年前
作者
asdf
zhangjh
3楼•10 年前
不clear就会一直触发定时器操作啊
flamingtop
4楼•10 年前
取决于setInterval内具体做什么。
anotherWill
5楼•10 年前
作者
@flamingtop
异步请求。
回到顶部