fennec-be/test/data/one-second-work.js
2021-03-05 17:12:06 +08:00

8 lines
139 B
JavaScript

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