mirror of
https://github.com/ocogeclub/ocoge.git
synced 2024-11-24 08:29:48 +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);
|