mirror of
https://github.com/ocogeclub/ocoge.git
synced 2024-11-22 23:59:49 +00:00
8 lines
179 B
JavaScript
8 lines
179 B
JavaScript
|
var count=10;
|
||
|
var id = setInterval(() => {
|
||
|
console.log(count--);
|
||
|
if (count<0) {
|
||
|
console.log(' : 終了 - Node Test JS');
|
||
|
clearInterval(id);
|
||
|
}
|
||
|
}, 1000);
|