You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
189 B
13 lines
189 B
4 months ago
|
let i = 0;
|
||
|
|
||
|
let s = setInterval(function (){
|
||
|
if(i==100){
|
||
|
console.log("轮询结束")
|
||
|
clearInterval(s);
|
||
|
}
|
||
|
console.log(i)
|
||
|
i++
|
||
|
// if(i%5==0){
|
||
|
|
||
|
// }
|
||
|
},5)
|