timerFun(); function timerFun() { console.log("实现操作部分") let timer = setTimeout(function () { timerFun(); clearTimeout(timer) }, 10000); }