fennec-be/test/data/one-second-work.js

8 lines
139 B
JavaScript
Raw Normal View History

2021-03-05 17:12:06 +08:00
let timer;
let count = 0;
setTimeout(() => clearInterval(timer), 1_000);
timer = setInterval(() => {
console.log(++count * 10);
}, 95);