let i =0;
function start (){
setTimeout(function(){
i++;
if(i<10){
start();
}
},1000)
console.log("执行次数:"+i)
};
start()
let i =0;
function start (){
setTimeout(function(){
i++;
if(i<10){
start();
}
},1000)
console.log("执行次数:"+i)
};
start()