6 lines
71 B
JavaScript
6 lines
71 B
JavaScript
let x = 0;
|
|
function heartbeat() {
|
|
++x;
|
|
}
|
|
setInterval(heartbeat, 50);
|