8 lines
139 B
JavaScript
8 lines
139 B
JavaScript
let timer;
|
|
let count = 0;
|
|
setTimeout(() => clearInterval(timer), 1_000);
|
|
|
|
timer = setInterval(() => {
|
|
console.log(++count * 10);
|
|
}, 95);
|