JavaScript setInterval 与 setTimeout 区别时间:2023-03-09 16:07:58 setInterval:一直循环调用函数,不会停止;需要用 clearInterval 去停止 setTimeout:只调用一次